From 2466258187009f7628b584f7702177f5a14a2fef Mon Sep 17 00:00:00 2001 From: Trevor Batley Date: Fri, 12 May 2023 10:17:18 +1000 Subject: [PATCH] fix optional param code --- git-migrate-org.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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