From 4ed779b26d15cc2cdd66570193c20f6a3fd6bc02 Mon Sep 17 00:00:00 2001
From: Greg DiCristofaro <gregd@basistech.com>
Date: Thu, 5 Nov 2020 12:33:22 -0500
Subject: [PATCH] fix for script

---
 .travis.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index f5c98dbcf..2ac28de72 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -67,8 +67,8 @@ script:
   - ./bootstrap && ./configure --prefix=/usr && make
   - pushd bindings/java/ && ant -q dist 
   # don't run tests on osx; libtsk not present due to SIP on osx: VIK-6971
-  - if [ $TRAVIS_OS_NAME != "osx" ]; then
-      ant -q test
+  - if test ${TRAVIS_OS_NAME} != "osx"; then
+        ant -q test;
     fi
   - popd
   - pushd case-uco/java/ && ant -q && popd
-- 
GitLab