+ sed-s-gawk-awk-scripts-gen_init_ramfssh.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     sed s/gawk/awk/ scripts/gen_init_ramfs.sh
has been added to the -mm tree.  Its filename is
     sed-s-gawk-awk-scripts-gen_init_ramfssh.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: sed s/gawk/awk/ scripts/gen_init_ramfs.sh
From: Rob Landley <rob@xxxxxxxxxxx>

There's a symlink from awk to gawk if you're using the gnu tools, but no
symlink from gawk to awk if you're using BusyBox or some such.  (There's a
reason for the existence of standard names.  Can we use them please?)

Signed-off-by: Rob Landley <rob@xxxxxxxxxxx>
Acked-by: Sam Ravnborg <sam@xxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 scripts/gen_initramfs_list.sh |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff -puN scripts/gen_initramfs_list.sh~sed-s-gawk-awk-scripts-gen_init_ramfssh scripts/gen_initramfs_list.sh
--- a/scripts/gen_initramfs_list.sh~sed-s-gawk-awk-scripts-gen_init_ramfssh
+++ a/scripts/gen_initramfs_list.sh
@@ -121,9 +121,9 @@ parse() {
 		"nod")
 			local dev_type=
 			local maj=$(LC_ALL=C ls -l "${location}" | \
-					gawk '{sub(/,/, "", $5); print $5}')
+					awk '{sub(/,/, "", $5); print $5}')
 			local min=$(LC_ALL=C ls -l "${location}" | \
-					gawk '{print $6}')
+					awk '{print $6}')
 
 			if [ -b "${location}" ]; then
 				dev_type="b"
@@ -134,7 +134,7 @@ parse() {
 			;;
 		"slink")
 			local target=$(LC_ALL=C ls -l "${location}" | \
-					gawk '{print $11}')
+					awk '{print $11}')
 			str="${ftype} ${name} ${target} ${str}"
 			;;
 		*)
_

Patches currently in -mm which might be from rob@xxxxxxxxxxx are

sed-s-gawk-awk-scripts-gen_init_ramfssh.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux