You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
368B

  1. #!/usr/bin/env bash
  2. set -e
  3. CONFIG="install.conf.yaml"
  4. DOTBOT_DIR="dotbot"
  5. DOTBOT_BIN="bin/dotbot"
  6. BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
  7. cd "${BASEDIR}"
  8. git -C "${DOTBOT_DIR}" submodule sync --quiet --recursive
  9. git submodule update --init --recursive "${DOTBOT_DIR}"
  10. "${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" "${@}"