From de14dd5bff472740633b2ad598fd532a67da9f50 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 5 Aug 2015 19:58:38 +1200 Subject: Update tools shell scripts --- tools/hex.sh | 2 +- tools/test.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/hex.sh b/tools/hex.sh index cd880e13e..61558d12d 100755 --- a/tools/hex.sh +++ b/tools/hex.sh @@ -8,7 +8,7 @@ # hex.sh 5039 3e52505631393535352b343533383431382d303733393531383530303032303231323b49443d393939393b2a37423c0d0a # -if [[ $# -lt 2 ]] +if [ $# -lt 2 ] then echo "USAGE: $0 " exit 1 diff --git a/tools/test.sh b/tools/test.sh index 6ae1147ac..fe10b7199 100755 --- a/tools/test.sh +++ b/tools/test.sh @@ -19,7 +19,7 @@ test_protocol () { echo -n -e $3 | nc localhost $1 - if [[ $? -ne 0 ]] + if [ $? -ne 0 ] then printf "%-4s %-15s FAIL\n" $1 $2 else -- cgit v1.2.3