summaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-24 16:33:04 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-24 16:33:04 -0200
commit2656922c44319aae67092c3c02560944c1f837b8 (patch)
treebee592da7427a425c3b9675aa1fc9a13f9bff93c /files
parent88a14a12c28e4d6a8a55adcf187ac9e0d121ca35 (diff)
downloadpuppet-puppet-2656922c44319aae67092c3c02560944c1f837b8.tar.gz
puppet-puppet-2656922c44319aae67092c3c02560944c1f837b8.tar.bz2
Quiet submodule init (2)
Diffstat (limited to 'files')
-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