2014-08-03 17:46:55 -04:00
|
|
|
#!/usr/bin/env bash
|
2014-03-20 17:42:37 -04:00
|
|
|
|
2014-09-15 07:26:35 -04:00
|
|
|
set -e
|
2014-08-18 14:54:52 -04:00
|
|
|
|
2014-10-27 20:04:00 -04:00
|
|
|
CONFIG="install.conf.yaml"
|
2014-03-20 17:42:37 -04:00
|
|
|
DOTBOT_DIR="dotbot"
|
|
|
|
|
|
|
|
DOTBOT_BIN="bin/dotbot"
|
|
|
|
BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
|
|
|
|
|
|
cd "${BASEDIR}"
|
2018-06-05 11:42:11 -04:00
|
|
|
git -C "${DOTBOT_DIR}" submodule sync --quiet --recursive
|
2014-08-05 18:30:00 -04:00
|
|
|
git submodule update --init --recursive "${DOTBOT_DIR}"
|
2014-03-20 17:42:37 -04:00
|
|
|
|
2014-08-05 18:30:00 -04:00
|
|
|
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" "${@}"
|