diff --git a/grs.sh b/grs.sh index acb379c..c04f743 100644 --- a/grs.sh +++ b/grs.sh @@ -33,7 +33,7 @@ for repository in *; do gitURL=$(git config --get remote.origin.url) cd .. rm -rf "$repository" - gitOutput=$(git clone --recursive $gitURL) + gitOutput=$(git clone --recurse-submodules --recursive $gitURL) cd .. if [ "$gitOutput" == "" ]; then log=$(echo [$(date +"%Y-%m-%d %H:%M:%S")] Unable to check for updates to \"$repository\")