From 3b2ab5189a7ff2486eb6f1a933c733a5eac00961 Mon Sep 17 00:00:00 2001 From: Trevor Batley Date: Sat, 3 Jun 2023 13:36:24 +1000 Subject: [PATCH] typo --- rename-e-smith-pkg.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rename-e-smith-pkg.sh b/rename-e-smith-pkg.sh index 1ad9150..3071309 100755 --- a/rename-e-smith-pkg.sh +++ b/rename-e-smith-pkg.sh @@ -165,12 +165,12 @@ if [[ "$SOURCEORG" == "smecontribs" ]]; then fi # grab WIKILINK from source package -WIKILINK=$(curl -X 'GET' \ +RESPONSE=$(curl "$SILENT" -X 'GET' \ "https://src.koozali.org/api/v1/repos/$SOURCEORG/$SOURCEPKG" \ -H 'accept: application/json' \ -H 'Content-Type: application/json' \ - -H "Authorization: token $SOURCEACCESSTOKEN" \ - | jq ' .external_wiki.external_wiki_url') + -H "Authorization: token $SOURCEACCESSTOKEN" +WIKILINK=$(echo $RESPONSE | jq ' .external_wiki.external_wiki_url') if [ $DEBUG ] ; then echo "WIKILINK=$WIKILINK" ; fi # Update the repo with the changed description, bugzilla url and wiki url