diff options
-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 |