From 52a941f0fab42b5d53cc435f86a0fbe0b9797e79 Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Fri, 15 Sep 2023 17:40:16 +0300 Subject: [PATCH] chore(dotbot): updated install script --- install | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install b/install index dbf11a7..3f389c0 100755 --- a/install +++ b/install @@ -10,9 +10,9 @@ BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" DOTBOT_BIN_PATH="${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" DOTBOT_HOST="$(hostname -s)" -cd "$BASEDIR" -git submodule sync --quiet --recursive -git submodule update --init --recursive +cd "${BASEDIR}" +git -C "${DOTBOT_DIR}" submodule sync --quiet --recursive +git submodule update --init --recursive "${DOTBOT_DIR}" "${DOTBOT_BIN_PATH}" \ -d "${BASEDIR}" \