build: remove Bash dependency in favor of sh

These shell commands/scripts all seem to work fine with POSIX shell, so
there's no reason to depend on Bash for building.
This commit is contained in:
Mohammed Anas 2024-01-22 14:59:46 +00:00
parent 1516a3a4aa
commit 58ddad39fc
No known key found for this signature in database
3 changed files with 3 additions and 3 deletions

View file

@ -18,7 +18,7 @@ foreach interface_file: dbus_interfaces
depend_files: interface_file,
capture: true,
command: [
bash, '-c',
sh, '-c',
'cat "$1"; "$2" "$3" "$4" | tail -n +2',
'_', # argv0 ignored
'@INPUT@',

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
po_dir=$(dirname $0)

View file

@ -1,4 +1,4 @@
bash = find_program('bash')
sh = find_program('sh')
dbus_interfaces = files(
'net.reactivated.Fprint.Manager.xml',
'net.reactivated.Fprint.Device.xml',