Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=67ccd2fcd42333493a33993312c76fb2d4c2a2d6
Commit:     67ccd2fcd42333493a33993312c76fb2d4c2a2d6
Parent:     8995ac8702737147115e1c75879a1a2d75627b9e
Author:     Segher Boessenkool <[EMAIL PROTECTED]>
AuthorDate: Wed May 16 22:49:22 2007 +1000
Committer:  Paul Mackerras <[EMAIL PROTECTED]>
CommitDate: Thu May 17 21:11:15 2007 +1000

    [POWERPC] Fix sed command lines for zlib source construction
    
    Not every sed understands \+ so use the more portable * instead.
    
    Signed-off-by: Segher Boessenkool <[EMAIL PROTECTED]>
    Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>
---
 arch/powerpc/boot/Makefile |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile
index 6d1f02f..b0b5705 100644
--- a/arch/powerpc/boot/Makefile
+++ b/arch/powerpc/boot/Makefile
@@ -54,13 +54,13 @@ obj-wlib := $(addsuffix .o, $(basename $(addprefix $(obj)/, 
$(src-wlib))))
 obj-plat := $(addsuffix .o, $(basename $(addprefix $(obj)/, $(src-plat))))
 
 quiet_cmd_copy_zlib = COPY    $@
-      cmd_copy_zlib = sed "[EMAIL PROTECTED]@@;s@<linux/\([^>]\+\)[EMAIL 
PROTECTED]"\1\"@" $< > $@
+      cmd_copy_zlib = sed "[EMAIL PROTECTED]@@;s@<linux/\([^>]*\)[EMAIL 
PROTECTED]"\1\"@" $< > $@
 
 quiet_cmd_copy_zlibheader = COPY    $@
-      cmd_copy_zlibheader = sed "s@<linux/\([^>]\+\)[EMAIL PROTECTED]"\1\"@" 
$< > $@
+      cmd_copy_zlibheader = sed "s@<linux/\([^>]*\)[EMAIL PROTECTED]"\1\"@" $< 
> $@
 # stddef.h for NULL
 quiet_cmd_copy_zliblinuxheader = COPY    $@
-      cmd_copy_zliblinuxheader = sed 
"s@<linux/string.h>@\"string.h\"@;s@<linux/kernel.h>@<stddef.h>@;s@<linux/\([^>]\+\)[EMAIL
 PROTECTED]"\1\"@" $< > $@
+      cmd_copy_zliblinuxheader = sed 
"s@<linux/string.h>@\"string.h\"@;s@<linux/kernel.h>@<stddef.h>@;s@<linux/\([^>]*\)[EMAIL
 PROTECTED]"\1\"@" $< > $@
 
 $(addprefix $(obj)/,$(zlib)): $(obj)/%: $(srctree)/lib/zlib_inflate/%
        $(call cmd,copy_zlib)
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to