mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
hwdb-update: make sure it works when run from meson
let's make the argument optional again, so that the command line "ninja -C build hwdb-update" runs works.
This commit is contained in:
parent
38dd5600b3
commit
d5ef342dfe
@ -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 (
|
||||
|
Loading…
Reference in New Issue
Block a user