1
0
Fork 0

Force install to require configs explicitly

This commit is contained in:
Jeremy Kaplan 2016-06-11 21:20:17 -04:00
commit 8f28b951a7
2 changed files with 1 additions and 2 deletions

View file

@ -2,7 +2,6 @@
set -e
DEFAULT_CONFIG_PREFIX="default"
CONFIG_SUFFIX=".conf.yaml"
DOTBOT_DIR="dotbot"
@ -13,6 +12,6 @@ BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "${BASEDIR}"
git submodule update --init --recursive "${DOTBOT_DIR}"
for conf in ${DEFAULT_CONFIG_PREFIX} ${@}; do
for conf in ${@}; do
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${conf}${CONFIG_SUFFIX}"
done