diff --git a/git-migrate-org.sh b/git-migrate-org.sh index c906fbc..a2f0ac6 100755 --- a/git-migrate-org.sh +++ b/git-migrate-org.sh @@ -48,7 +48,7 @@ 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