fix mirror=false

This commit is contained in:
Trevor Batley 2023-11-20 11:43:02 +11:00
parent c8f81a0315
commit 9fd4f2cce8

View File

@ -50,7 +50,7 @@ SOURCEACCESSTOKEN=${remote_GITEAACCESSTOKEN}
TARGETHOST=${local_GITEAHOST}
TARGETACCESSTOKEN=${local_GITEAACCESSTOKEN}
TARGETORG=${local_USER}
MIRROR=
MIRROR=false
for param in $2 $3 $4 $5 $6; do
if [ $param ] ; then
case $param in
@ -60,7 +60,7 @@ for param in $2 $3 $4 $5 $6; do
CLONEADDRESS=$LOCALGITEAHOST/$2/$1.git
;;
copy )
MIRROR=
MIRROR=false
;;
mirror )
MIRROR=true ;;