Update grs.sh

This commit is contained in:
Mohammed Goder 2024-05-11 07:24:29 -04:00
parent 926c83cbd7
commit 42d205e62c

2
grs.sh
View File

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