From e0ffb2ff62be37c6e4ecec19215b62c95e67cb1b Mon Sep 17 00:00:00 2001 From: davemachado Date: Thu, 26 Oct 2017 12:06:07 -0400 Subject: [PATCH] use verbose equals in bash --- build/main.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/main.sh b/build/main.sh index dcbc6898..93bc2f74 100755 --- a/build/main.sh +++ b/build/main.sh @@ -20,7 +20,7 @@ fi echo "checking if /json was changed..." egrep "\+{3}\s.\/json\/" diff.txt > json.txt -if [[$? == 0]]; then +if [ $? -eq 0 ]; then echo "JSON files are auto-generated! Please do not update these files:" cat json.txt exit 1