Files
dotfiles/install

15 lines
305 B
Plaintext
Raw Normal View History

2017-08-26 10:56:11 +02:00
#!/usr/bin/env bash
set -e
CONFIG="install.yml"
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}" "${@}"