fix scripts npm

This commit is contained in:
Eugenio Romano
2019-08-29 20:14:31 +01:00
parent d7ff927b79
commit 6590b59de0
6 changed files with 16 additions and 18 deletions

View File

@@ -33,13 +33,15 @@ then
exit 0
fi
echo "The branch name to check is $BRANCH_NAME"
if $GNU; then
gnu='-gnu'
else
gnu=''
fi
if [ $BRANCH_NAME == 'undefined' ]; then
if [ $BRANCH_NAME == "undefined" ]; then
echo "Rebase your branch"
exit 1
fi