diff --git a/git-cvs2git.sh b/git-cvs2git.sh index ea15328..10cd043 100755 --- a/git-cvs2git.sh +++ b/git-cvs2git.sh @@ -249,7 +249,7 @@ if [ "$RESPONSE" == "200" ]; then fi # Now delete the repo, re-create it and clone it in to local if [ $DEBUG ] ; then echo "Delete $ORGGITEA/$1" ; fi - RESPONSE=$(curl "$checkSSL" "$curlsilent" -o /dev/null -w "{%http_code}" -X 'DELETE' \ + RESPONSE=$(curl "$checkSSL" "$curlsilent" -o /dev/null -w "%{http_code}" -X 'DELETE' \ "$GITEAHOST/api/v1/repos/$ORGGITEA/$1" \ -H 'accept: application/json' \ -H "Authorization: token $GITEAACCESSTOKEN")