]> git.proxmox.com Git - mirror_qemu.git/commit
tests/multiboot: Improve portability by searching bash in the $PATH
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Thu, 7 Mar 2019 14:58:36 +0000 (15:58 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 8 Mar 2019 11:26:45 +0000 (12:26 +0100)
commita03700fd3efdc7cff0e6310047e624d906645e46
treecc5ca038da30b82a11c9fd404d438813ada5771a
parentd9df28e7b07e842798dff9f8b24af2d78911dbb6
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>
tests/multiboot/run_test.sh