1
0
Fork 0
mirror of https://github.com/kastdeur/dotfiles.git synced 2025-06-18 05:06:38 +02:00

Hide submodules in root directory

This commit is contained in:
Eric Teunis de Boone 2020-04-14 17:00:41 +02:00
parent 37f41402ab
commit 07389ae819
6 changed files with 6 additions and 6 deletions

View file

@ -2,14 +2,14 @@
set -e
CONFIG="install.conf.yaml"
DOTBOT_DIR="dotbot"
CONFIG=".install.conf.yaml"
DOTBOT_DIR=".dotbot"
DOTBOT_BIN="bin/dotbot"
BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "${BASEDIR}"
git pull
git pull || echo "Pulling from remote failed"
git submodule update --init --recursive "${DOTBOT_DIR}"
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" "${@}"