[PATCH] gen_build_files.sh: Remove bashisms
David N. Lombard
dnlombar at ichips.intel.com
Mon May 17 15:00:28 UTC 2010
On Fri, May 14, 2010 at 01:52:24PM -0700, Cristian Ionescu-Idbohrn wrote:
> On Fri, 14 May 2010, Rob Landley wrote:
>
> > On Thursday 13 May 2010 18:05:53 Peter Tyser wrote:
> > > Using 'read' without a variable is not supported in many shells. Lines
> > > such as 'while read; do' in gen_build_files.sh would result in build
> > > failures when using sh or dash as an interpreter:
> >
> > Simple fix: say #!/bin/bash at the top of all shell scripts, always.
>
> Not surprisingly, I disagree :)
> dash is 5+ times faster than bash.
If I'm *that* concerned about performance, "*sh" is not the answer...
--
David N. Lombard, Intel, Irvine, CA
I do not speak for Intel Corporation; all comments are strictly my own.
More information about the busybox
mailing list