From a1fc0c22e6a74dd920abba7014db9a1e87c58a95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Luis=20Rodr=C3=ADguez=20Ponce?= Date: Sun, 17 May 2020 22:38:09 +0200 Subject: [PATCH] Check error if no argument is passed Fix './checkup_docs.sh: line 6: [: ==: unary operator expected' error --- checkup_docs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/checkup_docs.sh b/checkup_docs.sh index 7505ff4..97c8695 100755 --- a/checkup_docs.sh +++ b/checkup_docs.sh @@ -3,7 +3,7 @@ export MAVEN_OPTS="-Xmx512M -XX:MaxPermSize=256M" MAVEN_PROFILES=$1 -if [ $1 == "--help" ]; then +if [ "$1" == "--help" ]; then echo "Usage: ./checkup_docs only for basic english version" echo "Usage: ./checkup_docs -Pall for all languages using cached translations" echo "Usage: ./checkup_docs -Platest,all for all languages using latest translations on transifex"