PATCH: fix posix compliance for mkcompile_h script

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Sun Jul 27 2003 - 15:26:01 EST


diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.6.0-test2/scripts/mkcompile_h linux-2.6.0-test2-ac1/scripts/mkcompile_h
--- linux-2.6.0-test2/scripts/mkcompile_h 2003-07-10 21:15:45.000000000 +0100
+++ linux-2.6.0-test2-ac1/scripts/mkcompile_h 2003-07-15 17:24:40.000000000 +0100
@@ -54,7 +54,7 @@
     echo \#define LINUX_COMPILE_DOMAIN
   fi
 
- echo \#define LINUX_COMPILER \"`$CC -v 2>&1 | tail -1`\"
+ echo \#define LINUX_COMPILER \"`$CC -v 2>&1 | tail -n 1`\"
 ) > .tmpcompile
 
 # Only replace the real compile.h if the new one is different,
-
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/



This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:33 EST