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. Speaking of which, when hush gets close to being a reasonable bash replacement (about when we're ready to delete ash), we should teach it to be callable via a "bash" alias, since so many scripts do this becase the Defective Annoying Shell is such a horrid Ubuntu-ism. Rob -- Latency is more important than throughput. It's that simple. - Linus Torvalds _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
