Files
dotfiles/dotbot

16 lines
312 B
Plaintext
Raw Normal View History

2017-08-26 10:56:11 +02:00
#!/usr/bin/env bash
set -e
2018-02-05 20:09:05 +01:00
CONFIG="dotbot.yml"
2017-08-26 10:56:11 +02:00
DOTBOT_DIR="_dotbot"
DOTBOT_BIN="bin/dotbot"
BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "${BASEDIR}"
git submodule update --init --recursive "${DOTBOT_DIR}"
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" "${@}"
2018-02-05 20:09:05 +01:00
exit $?