diff options
Diffstat (limited to 'tools/meson-hwdb-update.sh')
-rwxr-xr-x | tools/meson-hwdb-update.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/meson-hwdb-update.sh b/tools/meson-hwdb-update.sh index d4ec555beb..f9ef241719 100755 --- a/tools/meson-hwdb-update.sh +++ b/tools/meson-hwdb-update.sh @@ -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 ( |