Re: Why use /bin/sh in kernel build system?

From: Timur Tabi
Date: Tue Apr 29 2008 - 18:48:29 EST


Willy Tarreau wrote:

> Hint: not every joe user may install bash into /bin... That's why we
> see some scripts begin with "/usr/bin/env bash" as there are less
> systems without env in /usr/bin than systems without bash in /bin (or
> at all).

I agree that #!/bin/bash is a bad idea. I think the easiest, and maybe the
best, approach is to fix shell issue one-by-one. The one I found was easily
fixed by Al Viro's here-document change.

--
Timur Tabi
Linux kernel developer at Freescale
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/