]> gitweb.fluxo.info Git - puppet-puppet.git/commitdiff
Use --recursive on git submodule update
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 27 Sep 2014 18:46:16 +0000 (15:46 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 27 Sep 2014 18:46:16 +0000 (15:46 -0300)
files/update-puppet-conf.sh

index 9a2dd65b9e2100501a37e6c24da6b55edd43a3ce..c8a837089ef8bbf40af94e838d1470fb7caf90b9 100644 (file)
@@ -16,6 +16,6 @@ if [ -d "${PUPPET_DIR}/.git" ] && [ -d "${ORIGIN_DIR}" ]; then
   git reset HEAD --hard         || exit $?
   git pull ${ORIGIN_DIR} master || exit $?
   # See https://github.com/git/git/commit/c1c259e225cf39c7353c673ad2c7c84450d909c1
-  git submodule update --init | grep -v "^Submodule "
+  git submodule update --init --recursive | grep -v "^Submodule "
   git clean -d -f
 fi