remove quotes with jq -r

This commit is contained in:
Trevor Batley 2023-06-03 14:24:26 +10:00
parent 2822c44f8e
commit aab64d1ed7

View File

@ -170,7 +170,7 @@ WIKILINK=$(curl "$SILENT" -X 'GET' \
-H 'accept: application/json' \ -H 'accept: application/json' \
-H 'Content-Type: application/json' \ -H 'Content-Type: application/json' \
-H "Authorization: token $SOURCEACCESSTOKEN" | \ -H "Authorization: token $SOURCEACCESSTOKEN" | \
jq ' .external_wiki.external_wiki_url') jq -r ' .external_wiki.external_wiki_url')
if [ $DEBUG ] ; then echo "WIKILINK=$WIKILINK" ; fi if [ $DEBUG ] ; then echo "WIKILINK=$WIKILINK" ; fi
# Update the repo with the changed description, bugzilla url and wiki url # Update the repo with the changed description, bugzilla url and wiki url