revert curl output suppression on create

This commit is contained in:
Trevor Batley 2023-06-02 21:02:55 +10:00
parent 95e4647899
commit feda70a9b2

View File

@ -279,7 +279,7 @@ cd $GITFiles
# Re-create the repo # Re-create the repo
# #
if [ $DEBUG ] ; then echo "************Creating repo for $1 $PACKAGETYPE" ; fi if [ $DEBUG ] ; then echo "************Creating repo for $1 $PACKAGETYPE" ; fi
RESPONSE=$(curl "$checkSSL" "$curlsilent" -o /dev/null -w "%{http_code}" -X 'POST' \ RESPONSE=$(curl "$checkSSL" "$curlsilent" -X 'POST' \
"$GITEAHOST/api/v1/orgs/$ORGGITEA/repos" \ "$GITEAHOST/api/v1/orgs/$ORGGITEA/repos" \
-H 'accept: application/json' \ -H 'accept: application/json' \
-H "Authorization: token $GITEAACCESSTOKEN" \ -H "Authorization: token $GITEAACCESSTOKEN" \