mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 00:47:10 +09: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:
committed by
Zbigniew Jędrzejewski-Szmek
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 (
|
||||
|
||||
Reference in New Issue
Block a user