From 6f09d7a8650d0b995e96b90fa9107a70cbced60d Mon Sep 17 00:00:00 2001 From: Trevor Batley Date: Sun, 4 Jun 2023 21:43:34 +1000 Subject: [PATCH] variable names wrong --- git-migrate-repo.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"