On 06/02/07, Oleg Verych <[email protected]> wrote:
scripts: replace gawk, head, bc with shell, update
Replacing overhead of using some (external) programs
instead of good old `sh'.
Cc: Roman Zippel <[email protected]>
Cc: Sam Ravnborg <[email protected]>
Cc: William Stearns <[email protected]>
Cc: Martin Schlemmer <[email protected]>
Signed-off-by: Oleg Verych <[email protected]>
---
Whitespace cleanup included.
scripts/gen_initramfs_list.sh | 43 +++++++++++++++++++++---------------------
scripts/makelst | 34 ++++++++++++++++-----------------
2 files changed, 39 insertions(+), 38 deletions(-)
Index: linux-2.6.20/scripts/makelst
===================================================================
--- linux-2.6.20.orig/scripts/makelst 2007-02-06 02:12:38.811908000 +0100
+++ linux-2.6.20/scripts/makelst 2007-02-06 02:12:43.688212750 +0100
@@ -1,31 +1,31 @@
-#!/bin/bash
+#!/bin/sh
I don't like this change much. We don't know what shell /bin/sh is on
a random users system - much better to be explicit and make sure we
use/require bash.
I expect this change to cause pain for users who have zsh, csh, ksh,
ash or some other shell as /bin/sh but also have /bin/bash available.
Previously things would just work, but now it will possibly break due
to using a different shell.
--
Jesper Juhl <[email protected]>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]