summaryrefslogtreecommitdiffstats
path: root/scripts/windows/after_success.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/windows/after_success.sh')
-rw-r--r--scripts/windows/after_success.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/windows/after_success.sh b/scripts/windows/after_success.sh
index b84100be7..8be305b3b 100644
--- a/scripts/windows/after_success.sh
+++ b/scripts/windows/after_success.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-if [ ! -z $TRAVIS_BRANCH ] && [ "$TRAVIS_BRANCH" != "master" ] ; then
+if [ -n $TRAVIS_BRANCH ] && [ "$TRAVIS_BRANCH" != "master" ] ; then
export UPLOADTOOL_SUFFIX=$TRAVIS_BRANCH
fi