From 80d42edbc12882ae582d72f7906fe6063ddeadf7 Mon Sep 17 00:00:00 2001 From: Trevor Batley Date: Sun, 4 Jun 2023 18:04:38 +1000 Subject: [PATCH] FIIK --- rename-e-smith-pkg.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/rename-e-smith-pkg.sh b/rename-e-smith-pkg.sh index 7909ab9..8adbd8d 100755 --- a/rename-e-smith-pkg.sh +++ b/rename-e-smith-pkg.sh @@ -172,8 +172,8 @@ RESPONSE=$(curl $SILENT -k -X 'POST' \ -H 'accept: application/json' \ -H "Authorization: token $SOURCEACCESSTOKEN" \ -H 'Content-Type: application/json' \ - -d { - "auth_token": "$SOURCEACCESSTOKEN", + -d '{ + "auth_token": "'"$SOURCEACCESSTOKEN"'", "description": "'"SMEServer Koozali developed git repo for $TARGETPKG $BASEORCONTRIB"'", "clone_addr": "'"$SOURCEHOST/$TARGETORG/$TARGETPKG.git"'", "repo_name": "'"$TARGETPKG"'", @@ -181,8 +181,9 @@ RESPONSE=$(curl $SILENT -k -X 'POST' \ "external_tracker": { "external_tracker_url": "'"https://bugs.koozali.org/buglist.cgi?component=$TARGETPKG&product=$PRODUCTBUGZILLA"'" } - )' + }' ) + # Update the repo with the changed description, bugzilla url and wiki url #if [ $DEBUG ] ; then echo "Updating Description, Bug and Wiki links" ; fi #RESPONSE=$(curl "$SILENT" "$checkSSL" -X 'PATCH' \