diff options
author | Mohammed Anas <triallax@tutanota.com> | 2024-01-22 14:59:46 +0000 |
---|---|---|
committer | Mohammed Anas <triallax@tutanota.com> | 2024-01-22 15:32:36 +0000 |
commit | 58ddad39fcf4d5e192352030ee8dab57b3d603ab (patch) | |
tree | 86ca815e40047cecb6591d7f5716490ccc4ae30a | |
parent | 1516a3a4aaa095fd445f8872dcf7922e15584d9d (diff) |
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.
-rw-r--r-- | doc/dbus/meson.build | 2 | ||||
-rwxr-xr-x | po/check-translations.sh | 2 | ||||
-rw-r--r-- | src/meson.build | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/doc/dbus/meson.build b/doc/dbus/meson.build index 431127d..fdb481e 100644 --- a/doc/dbus/meson.build +++ b/doc/dbus/meson.build @@ -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@', diff --git a/po/check-translations.sh b/po/check-translations.sh index 9754168..a548f83 100755 --- a/po/check-translations.sh +++ b/po/check-translations.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh po_dir=$(dirname $0) diff --git a/src/meson.build b/src/meson.build index a7ce3fe..410226a 100644 --- a/src/meson.build +++ b/src/meson.build @@ -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', |