aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2019-03-07 15:58:37 +0100
committerKevin Wolf <kwolf@redhat.com>2019-03-08 12:26:45 +0100
commitd68375816eca9e60d7c7edb290b1964d4d83e346 (patch)
tree6546c39e91e64b6a221f9b72095068e5b3217d1f
parenta03700fd3efdc7cff0e6310047e624d906645e46 (diff)
downloadqemu-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-xtests/data/acpi/rebuild-expected-aml.sh2
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