From 90de6044cc7ce9f1be3f9eb3f3429de459130953 Mon Sep 17 00:00:00 2001 From: Ward Fisher Date: Wed, 22 Jan 2014 09:53:26 -0700 Subject: [PATCH] Updated comparison to work on Linux as well as OSX. --- ncdap_test/tst_remote.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ncdap_test/tst_remote.sh b/ncdap_test/tst_remote.sh index 3633f8879..f15dcc6d2 100755 --- a/ncdap_test/tst_remote.sh +++ b/ncdap_test/tst_remote.sh @@ -256,7 +256,7 @@ for t in ${TESTSET} ; do index=`echo "${t}" | sed -n "s/;.*//p" | wc -c` #echo index: $index - if [ $index == 0 ]; then + if [[ ( "$index" == 0 ) ]]; then #echo "No Constraint" constrained=0 else