silence curl output

This commit is contained in:
Trevor Batley 2023-06-03 16:57:10 +10:00
parent 51d864512f
commit db62df1090

View File

@ -87,7 +87,7 @@ if [ $PROCESSORG ] ; then
# get a list of repositories in the source organisation # get a list of repositories in the source organisation
for page in {1..10} ; do for page in {1..10} ; do
if [ $DEBUG ] ; then echo "getting page $page of repos from $GITHOST $PROCESSORG" ; fi 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" \ "$GITEAHOST/api/v1/orgs/$PROCESSORG/repos?page=$page" \
-H 'accept: application/json' \ -H 'accept: application/json' \
-H "Authorization: token $ACCESSTOKEN" -H "Authorization: token $ACCESSTOKEN"