]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - tools/meson-hwdb-update.sh
Update uk.po
[thirdparty/systemd.git] / tools / meson-hwdb-update.sh
index d4ec555beb383398361bffe6be63429843ba6f1b..f9ef24171974b25c74c897cde73038d5ce9a0a52 100755 (executable)
@@ -4,9 +4,11 @@ set -eu
 cd "$1"
 
 unset permissive
-if [ "$2" = "-p" ]; then
+if [ "${2:-}" = "-p" ]; then
         permissive=1
         shift
+else
+        permissive=0
 fi
 
 if [ "${2:-}" != "-n" ]; then (