diff --git a/git-mirror-org.sh b/git-mirror-org.sh index 3f1bdff..8ad05b5 100755 --- a/git-mirror-org.sh +++ b/git-mirror-org.sh @@ -75,7 +75,7 @@ for page in {1..10} ; do break else echo $RESPONSE | grep -oP '(?<="name":").+?(?=")' | while read repo; do - if [ $DEBUG ] echo "git-mirror-repo.sh ${repo} $1 $TARGETORG" ; fi + if [ $DEBUG ] ; then echo "git-mirror-repo.sh ${repo} $1 $TARGETORG" ; fi git-mirror-repo.sh ${repo} $1 $TARGETORG done fi