fix: merge-pr script (#22290)

PR Close #22290
This commit is contained in:
Victor Berchet 2018-02-18 13:07:43 -08:00
parent f4845fae12
commit 7fa2d4b503
1 changed files with 2 additions and 2 deletions

View File

@ -44,9 +44,9 @@ if [ -z ${TOKEN:-''} ]; then
echo "WARNING: you should set the TOKEN variable to a github token"
echo "############################################################"
echo "############################################################"
$GHCURL="curl"
GHCURL="curl"
else
$GHCURL="curl -H \"Authorization: token $TOKEN\""
GHCURL="curl -H \"Authorization: token $TOKEN\""
fi
CURRENT_BRANCH=`git rev-parse --abbrev-ref HEAD`