Messages in this thread | | | Date | Tue, 29 Apr 2008 17:40:01 -0500 | From | Timur Tabi <> | Subject | Re: Why use /bin/sh in kernel build system? |
| |
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
| |