summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--files/update-puppet-conf.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/files/update-puppet-conf.sh b/files/update-puppet-conf.sh
index 72dc00b..ef7bfcd 100644
--- a/files/update-puppet-conf.sh
+++ b/files/update-puppet-conf.sh
@@ -14,6 +14,7 @@ if [ -d "${PUPPET_DIR}/.git" ] && [ -d "${ORIGIN_DIR}" ]; then
cd ${PUPPET_DIR}
git pull ${ORIGIN_DIR} master
git checkout -f
- git submodule update --init -q
+ # See https://github.com/git/git/commit/c1c259e225cf39c7353c673ad2c7c84450d909c1
+ git submodule update --init | grep -v "^Submodule "
git clean -d -f
fi