Skip to content

Commit

Permalink
Check error if no argument is passed
Browse files Browse the repository at this point in the history
Fix './checkup_docs.sh: line 6: [: ==: unary operator expected' error
  • Loading branch information
juanluisrp authored May 17, 2020
1 parent 2255acd commit a1fc0c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checkup_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit a1fc0c2

Please sign in to comment.