Messages in this thread Patch in this message | | | Date | Fri, 18 Jul 2003 15:05:08 +0100 | From | Alan Cox <> | Subject | PATCH: POSIX doesnt guarantee head -2, only head -n 2 |
| |
(and some build environments are set up to be poxixly correct)
(Teemu Tervo) diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.6.0-test1/arch/mips/ramdisk/Makefile linux-2.6.0-test1-ac2/arch/mips/ramdisk/Makefile --- linux-2.6.0-test1/arch/mips/ramdisk/Makefile 2003-07-10 21:12:14.000000000 +0100 +++ linux-2.6.0-test1-ac2/arch/mips/ramdisk/Makefile 2003-07-15 17:24:40.000000000 +0100 @@ -2,7 +2,7 @@ # Makefile for a ramdisk image # -O_FORMAT = $(shell $(OBJDUMP) -i | head -2 | grep elf32) +O_FORMAT = $(shell $(OBJDUMP) -i | head -n 2 | grep elf32) img = $(CONFIG_EMBEDDED_RAMDISK_IMAGE) ramdisk.o: $(subst ",,$(img)) ld.script echo "O_FORMAT: " $(O_FORMAT) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |