summary refs log tree commit diff
path: root/.ci/script.sh
diff options
context:
space:
mode:
Diffstat (limited to '.ci/script.sh')
-rwxr-xr-x.ci/script.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/.ci/script.sh b/.ci/script.sh
index 1bde913c..ac6bfed6 100755
--- a/.ci/script.sh
+++ b/.ci/script.sh
@@ -41,11 +41,11 @@ cmake --build build
 if [ "$TRAVIS_OS_NAME" = "osx" ]; then
     make lint;
 
-    if [ "$DEPLOYMENT" = 1 ] && [ ! -z "$VERSION" ] ; then
+    if [ "$DEPLOYMENT" = 1 ] && [ -n "$VERSION" ] ; then
         make macos-deploy;
     fi
 fi
 
-if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$DEPLOYMENT" = 1 ] && [ ! -z "$VERSION" ]; then
+if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$DEPLOYMENT" = 1 ] && [ -n "$VERSION" ]; then
     make linux-deploy;
 fi