tests/fedora uses /bin/bash, which may not exist.

How about this patch? Tested on MacOS X, FreeBSD, OpenBSD, NetBSD, AIX, HP-UX,
IRIX, OSF/1, Solaris.


2011-11-11  Bruno Haible  <[email protected]>

        Don't assume that /bin/bash exists.
        * tests/fedora: Run using /bin/sh, not /bin/bash.

diff -r -u multibuild-1488/linux/grep-2.9.69-f91c/tests/fedora 
grep-2.9.69-f91c/tests/fedora
--- multibuild-1488/linux/grep-2.9.69-f91c/tests/fedora 2011-09-10 
09:17:04.000000000 +0200
+++ grep-2.9.69-f91c/tests/fedora       2011-11-11 22:45:17.000000000 +0100
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 
 . "${srcdir=.}/init.sh"; path_prepend_ ../src
 

-- 
In memoriam Jan Opletal <http://en.wikipedia.org/wiki/Jan_Opletal>

Reply via email to