diff options
author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2019-03-07 15:58:37 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2019-03-08 12:26:45 +0100 |
commit | d68375816eca9e60d7c7edb290b1964d4d83e346 (patch) | |
tree | 6546c39e91e64b6a221f9b72095068e5b3217d1f | |
parent | a03700fd3efdc7cff0e6310047e624d906645e46 (diff) | |
download | qemu-d68375816eca9e60d7c7edb290b1964d4d83e346.zip qemu-d68375816eca9e60d7c7edb290b1964d4d83e346.tar.gz qemu-d68375816eca9e60d7c7edb290b1964d4d83e346.tar.bz2 |
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>
Acked-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
-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 bf9ba24..abdff70 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 |