aboutsummaryrefslogtreecommitdiff
path: root/tests/multiboot
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2019-03-07 15:58:36 +0100
committerKevin Wolf <kwolf@redhat.com>2019-03-08 12:26:45 +0100
commita03700fd3efdc7cff0e6310047e624d906645e46 (patch)
treecc5ca038da30b82a11c9fd404d438813ada5771a /tests/multiboot
parentd9df28e7b07e842798dff9f8b24af2d78911dbb6 (diff)
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-xtests/multiboot/run_test.sh2
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>
#