Replaced suspicious test

This commit is contained in:
Xawotihs
2015-08-16 21:11:41 +02:00
parent 8ce85636d9
commit 8c6f694645

View File

@@ -15,7 +15,7 @@ git remote set-url origin "https://${GH_TOKEN}@github.com/WagicProject/wagic.git
## Delete remote Travis-Mac branch (if any)
export REMOTE=$(git branch -r | grep "origin/$TRAVIS_MAC_BRANCH")
if [ test -n "$REMOTE" ]; then
if [ "$REMOTE" = "origin/$TRAVIS_MAC_BRANCH" ]; then
echo "Removing old $TRAVIS_MAC_BRANCH branch"
# Delete remote branch
git branch -r -D "origin/$TRAVIS_MAC_BRANCH"