summaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2020-11-15 17:55:24 +0100
committerAnton Khirnov <anton@khirnov.net>2020-11-15 17:55:24 +0100
commit0c9f90667b0bf6edce29c444c7e57089c379d50e (patch)
treedbeea6b6d6040724fa1f91b955ab9d5971534ef6 /install
parent502cf26a851a2674c96c4e28ccf6323d520f53f1 (diff)
install: handle top-level submodules
Not just those under dotbot
Diffstat (limited to 'install')
-rwxr-xr-xinstall4
1 files changed, 2 insertions, 2 deletions
diff --git a/install b/install
index 45dabd4..ecb076f 100755
--- a/install
+++ b/install
@@ -31,8 +31,8 @@ BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
MACHINE_PROFILE_BIN="machine_profiles"
cd "${BASEDIR}"
-git -C "${DOTBOT_DIR}" submodule sync --quiet --recursive
-git submodule update --init --recursive "${DOTBOT_DIR}"
+git submodule sync --recursive --quiet
+git submodule update --init --recursive
echo "Installing global configuration"
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" "${@}"