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-03-20 17:42:37 -04:00
|
|
|
CONFIG="install.conf.json"
|
|
|
|
DOTBOT_DIR="dotbot"
|
|
|
|
|
|
|
|
DOTBOT_BIN="bin/dotbot"
|
|
|
|
BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
|
|
|
|
|
|
cd "${BASEDIR}"
|
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}" "${@}"
|