OSDN Git Service

tests/bios-tables: Improve portability by searching bash in the $PATH
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Thu, 7 Mar 2019 14:58:37 +0000 (15:58 +0100)
committerThomas Huth <thuth@redhat.com>
Fri, 8 Mar 2019 07:00:19 +0000 (08:00 +0100)
commitfa59483d36818b5c4b164e99abcab1106e6825e0
tree1460439f175b59f9b26ba61c52aacdbc15806024
parent5411f3d0a25fc15cc0d42d985e5fdeddd51c0606
tests/bios-tables: Improve portability by searching bash in the $PATH

Bash is not always installed as /bin/bash. In particular on OpenBSD,
the package installs it in /usr/local/bin.
Use the 'env' shebang to search bash in the $PATH.

Reviewed-by: Kamil Rytarowski <n54@gmx.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/data/acpi/rebuild-expected-aml.sh