From: Philippe Mathieu-Daudé Date: Thu, 7 Mar 2019 14:58:37 +0000 (+0100) Subject: tests/bios-tables: Improve portability by searching bash in the $PATH X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=d68375816eca9e60d7c7edb290b1964d4d83e346;p=qemu.git 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 Reviewed-by: Igor Mammedov Reviewed-by: Michael S. Tsirkin Signed-off-by: Philippe Mathieu-Daudé Acked-by: Thomas Huth Signed-off-by: Kevin Wolf --- 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