diff options
author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2019-03-07 15:58:37 +0100 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2019-03-08 08:00:19 +0100 |
commit | fa59483d36818b5c4b164e99abcab1106e6825e0 (patch) | |
tree | 1460439f175b59f9b26ba61c52aacdbc15806024 /tests/data | |
parent | 5411f3d0a25fc15cc0d42d985e5fdeddd51c0606 (diff) |
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>
Diffstat (limited to 'tests/data')
-rwxr-xr-x | tests/data/acpi/rebuild-expected-aml.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/data/acpi/rebuild-expected-aml.sh b/tests/data/acpi/rebuild-expected-aml.sh index bf9ba242ad..abdff70a0d 100755 --- a/tests/data/acpi/rebuild-expected-aml.sh +++ b/tests/data/acpi/rebuild-expected-aml.sh @@ -1,4 +1,4 @@ -#! /bin/bash +#!/usr/bin/env bash # # Rebuild expected AML files for acpi unit-test |