[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hardcoded /bin/bash
From: |
Jim Meyering |
Subject: |
Re: hardcoded /bin/bash |
Date: |
Sat, 12 Nov 2011 12:30:39 +0100 |
Bruno Haible wrote:
> 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
Thanks!
Applied.