From 167abecea98e0357912149897adce15e09a4e084 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 27 Sep 2014 15:46:16 -0300 Subject: Use --recursive on git submodule update --- files/update-puppet-conf.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/update-puppet-conf.sh b/files/update-puppet-conf.sh index 9a2dd65..c8a8370 100644 --- a/files/update-puppet-conf.sh +++ b/files/update-puppet-conf.sh @@ -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 -- cgit v1.2.3