Update grs.sh
This commit is contained in:
parent
926c83cbd7
commit
42d205e62c
2
grs.sh
2
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\")
|
||||
|
Loading…
Reference in New Issue
Block a user