diff options
author | Allan Nordhøy <epost@anotheragency.no> | 2020-01-27 00:20:42 +0300 |
---|---|---|
committer | Antenore Gatta <antenore@simbiosi.org> | 2020-01-27 00:20:42 +0300 |
commit | f2a1ee2937f89657cab04314ff035bdc3470711f (patch) | |
tree | ba64f621244d92de2dcd32048922709089cdf837 /scripts | |
parent | e022a8c38c7b89e8500540e1894e8ac4eb048360 (diff) |
Updated boolean expressions
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/gettranslator.sh | 2 | ||||
-rwxr-xr-x | scripts/ubuntu-build.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/gettranslator.sh b/scripts/gettranslator.sh index e36bbe928..80b189d89 100644 --- a/scripts/gettranslator.sh +++ b/scripts/gettranslator.sh @@ -42,7 +42,7 @@ fi is_header=1 for lang in $languages; do - if [ $is_header -eq 1 -a -f "$PODIR/$lang.po" ]; then + if [ $is_header -eq 1 ] && [ -f "$PODIR/$lang.po" ]; then echo "language;last_translator;last_translator_email;last_translation" is_header=0 fi diff --git a/scripts/ubuntu-build.sh b/scripts/ubuntu-build.sh index 9dee71be7..2d72d0315 100755 --- a/scripts/ubuntu-build.sh +++ b/scripts/ubuntu-build.sh @@ -30,7 +30,7 @@ while [ "$1" != "" ]; do shift done -if [ "$DEBEMAIL" == "" -o "$DEBFULLNAME" == "" ]; then +if [ "$DEBEMAIL" == "" ] || [ "$DEBFULLNAME" == "" ]; then echo "DEBEMAIL and DEBFULLNAME variables must be set before run this script" exit 1 fi |