diff --git a/rename-e-smith-pkg.sh b/rename-e-smith-pkg.sh index cc98113..944eca8 100755 --- a/rename-e-smith-pkg.sh +++ b/rename-e-smith-pkg.sh @@ -282,12 +282,14 @@ git push origin &> /dev/null # Transfer back into the source organisation if [ $TRANSFER ] ; then - curl -X 'POST' \ - "$GITEAURL/api/v1/repos/$TARGETORG/$TARGETPKG/transfer" \ + curl "$SILENT" -X 'POST' \ + "$GITEAHOST/api/v1/repos/$TARGETORG/$TARGETPKG/transfer" \ -H 'accept: application/json' \ -H "Authorization: token $GITEAACCESSTOKEN" \ -H 'Content-Type: application/json' \ - -d '{ "new_owner": "'"$SOURCEORG"'" }' + -d '{ + "new_owner": "'"$SOURCEORG"'" + }' fi if [[ -z $NOOUTPUT ]] ; then