bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Have `rc' and `runsystem' use /bin/sh


From: Samuel Thibault
Subject: Re: [PATCH] Have `rc' and `runsystem' use /bin/sh
Date: Mon, 7 Nov 2011 23:25:47 +0100
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Ludovic Courtès, le Mon 07 Nov 2011 22:43:22 +0100, a écrit :
> These two scripts really need a plain POSIX shell, not necessarily
> Bash.  This patch changes the shebang accordingly.

Mmm, are "local" and functions really in POSIX shells? dash refuses
the function keyword, but apparently

f()
{
        local a
}

is okay. Better check completely.

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]