From db62df1090a8c4a547c3b67cb7ded0570e87f937 Mon Sep 17 00:00:00 2001 From: Trevor Batley Date: Sat, 3 Jun 2023 16:57:10 +1000 Subject: [PATCH] silence curl output --- parse-list.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parse-list.sh b/parse-list.sh index 82b4849..4afc961 100755 --- a/parse-list.sh +++ b/parse-list.sh @@ -87,7 +87,7 @@ if [ $PROCESSORG ] ; then # get a list of repositories in the source organisation for page in {1..10} ; do if [ $DEBUG ] ; then echo "getting page $page of repos from $GITHOST $PROCESSORG" ; fi - RESPONSE=$(curl $curlsilent -X 'GET' \ + RESPONSE=$(curl -s -X 'GET' \ "$GITEAHOST/api/v1/orgs/$PROCESSORG/repos?page=$page" \ -H 'accept: application/json' \ -H "Authorization: token $ACCESSTOKEN"