diff --git a/git-migrate-repo.sh b/git-migrate-repo.sh index 5f4f743..868a813 100755 --- a/git-migrate-repo.sh +++ b/git-migrate-repo.sh @@ -47,7 +47,7 @@ if [ $DEBUG ] ; then SILENT="-v" ; fi SOURCEHOST=${remote_GITEAHOST} SOURCEACCESSTOKEN=${remote_GITEAACCESSTOKEN} -TARGETGITEAHOST=${local_GITEAHOST} +TARGETHOST=${local_GITEAHOST} TARGETACCESSTOKEN=${local_GITEAACCESSTOKEN} TARGETORG=${local_USER} MIRROR= @@ -73,7 +73,7 @@ for param in $2 $3 $4 $5 $6; do break fi done -CLONEADDRESS=$SOURCEGITEAHOST/$2/$1.git +CLONEADDRESS=$SOURCEHOST/$2/$1.git if [ $DEBUG ] ; then echo "MIRROR=$MIRROR" echo "TARGETORG=$TARGETORG"