dotfiles/install

15 lines
310 B
Plaintext
Raw Normal View History

2014-08-20 23:19:09 +02:00
#!/usr/bin/env bash
2014-10-22 17:05:03 +02:00
set -e
2014-03-21 03:06:18 +01:00
CONFIG="install.conf.yaml"
2014-03-21 03:06:18 +01:00
DOTBOT_DIR="dotbot"
DOTBOT_BIN="bin/dotbot"
BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "${BASEDIR}"
2014-08-20 23:19:09 +02:00
git submodule update --init --recursive "${DOTBOT_DIR}"
2014-03-21 03:06:18 +01:00
2014-08-20 23:19:09 +02:00
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" "${@}"