From f907df50eef001a7d51a76118a0451e9e667b847 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Thu, 31 Jul 2003 05:19:04 -0700 Subject: [PATCH] [PATCH] fix posix compliance for mkcompile_h script --- scripts/mkcompile_h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/mkcompile_h b/scripts/mkcompile_h index 85f6a6f94aa..71d75141c40 100755 --- a/scripts/mkcompile_h +++ b/scripts/mkcompile_h @@ -54,7 +54,7 @@ UTS_TRUNCATE="sed -e s/\(.\{1,$UTS_LEN\}\).*/\1/" 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, -- 2.11.4.GIT