[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
hardcoded /bin/bash
From: |
Bruno Haible |
Subject: |
hardcoded /bin/bash |
Date: |
Fri, 11 Nov 2011 23:00:50 +0100 |
User-agent: |
KMail/1.13.6 (Linux/2.6.37.6-0.5-desktop; KDE/4.6.0; x86_64; ; ) |
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 <address@hidden>
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>
- hardcoded /bin/bash,
Bruno Haible <=