From 0c9f90667b0bf6edce29c444c7e57089c379d50e Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sun, 15 Nov 2020 17:55:24 +0100 Subject: install: handle top-level submodules Not just those under dotbot --- install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'install') 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}" "${@}" -- cgit v1.2.3