summaryrefslogtreecommitdiffstats
path: root/scripts/windows/after_success.sh
diff options
context:
space:
mode:
authorGravatar Rolf Eike Beer <eike@sf-mail.de>2019-03-13 21:57:18 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-03-16 10:06:26 -0700
commit0fb66fc91f1c4240ec8d06eb1d26ab6d882a960d (patch)
tree23b12bb7154dad033c523828c88df70f138f4ffe /scripts/windows/after_success.sh
parent41410fe218127b34c7b5e6b597e510d45882350f (diff)
downloadsubsurface-0fb66fc91f1c4240ec8d06eb1d26ab6d882a960d.tar.gz
simplfy scripts
Signed-off-by: Rolf Eike Beer <eike@sf-mail.de>
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