diff --git a/git-migrate-org.sh b/git-migrate-org.sh index a2f0ac6..4614bf1 100755 --- a/git-migrate-org.sh +++ b/git-migrate-org.sh @@ -48,11 +48,11 @@ fi MIRROR="copy" TARGETORG= -for param in $2 $3 $4; do +for param in $2 $3 $4 ; do if [ $param ] ; then if [[ $param == "copy" || $param == "mirror" ]] ; then MIRROR=$param - elif [[ $param == "review"]] ; then + elif [[ $param == "review" ]] ; then REVIEW=true else TARGETORG=$param