diff --git a/scripts/update-comps b/scripts/update-comps index d5be273..e46e58e 100755 --- a/scripts/update-comps +++ b/scripts/update-comps @@ -3,9 +3,9 @@ COMPSFILE=$1 DISTRO=$2 -if [ -z "$COMPSFILE" ]; then - echo "Usage: $0 " - exit 1 +if [ -z "$COMPSFILE" ] || [ -z "$DISTRO" ]; then + echo "Usage: $0 " + exit 1 fi LANG=C intltool-merge -x -u po/ $COMPSFILE.in $COMPSFILE