[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-block] [PULL 07/33] tests/multiboot: Improve portability by search

From: Kevin Wolf
Subject: [Qemu-block] [PULL 07/33] tests/multiboot: Improve portability by searching bash in the $PATH
Date: Fri, 8 Mar 2019 13:57:57 +0100

From: Philippe Mathieu-Daudé <address@hidden>

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 <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>
 tests/multiboot/run_test.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 @@
+#!/usr/bin/env bash
 # Copyright (c) 2013 Kevin Wolf <address@hidden>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]