diff options
author | Philippe Mathieu-Daudé | 2019-03-07 15:58:36 +0100 |
---|---|---|
committer | Kevin Wolf | 2019-03-08 12:26:45 +0100 |
commit | a03700fd3efdc7cff0e6310047e624d906645e46 (patch) | |
tree | cc5ca038da30b82a11c9fd404d438813ada5771a /tests/multiboot | |
parent | iotests: check whitelisted formats (diff) | |
download | qemu-a03700fd3efdc7cff0e6310047e624d906645e46.tar.gz qemu-a03700fd3efdc7cff0e6310047e624d906645e46.tar.xz qemu-a03700fd3efdc7cff0e6310047e624d906645e46.zip |
tests/multiboot: 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: Eric Blake <eblake@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/multiboot')
-rwxr-xr-x | tests/multiboot/run_test.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/multiboot/run_test.sh b/tests/multiboot/run_test.sh index 6c33003e71..98df91e6af 100755 --- a/tests/multiboot/run_test.sh +++ b/tests/multiboot/run_test.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (c) 2013 Kevin Wolf <kwolf@redhat.com> # |