linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* PATCH: POSIX doesnt guarantee head -2, only head -n 2
@ 2003-07-18 14:05 Alan Cox
  0 siblings, 0 replies; only message in thread
From: Alan Cox @ 2003-07-18 14:05 UTC (permalink / raw)
  To: linux-kernel, torvalds

(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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-07-18 13:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-18 14:05 PATCH: POSIX doesnt guarantee head -2, only head -n 2 Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).