From 696f451b7e9b2e5cbb5c12c76a51475ef04b2845 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sat, 23 Feb 2002 20:36:49 +0000 Subject: From 2002-02-19 Paul Eggert : * Makefile.in (VER): Change "head -1" to "sed q", since POSIX 1003.1-2001 no longer allows "head -1". * gdb/Makefile.in (version.c): Likewise. * gdb/doc/Makefile.in (GDBvn.texi): Likewise. * gdb/CONTRIBUTE: Change "diff -c3" to "diff -c", which is equivalent. POSIX 1003.1-2001 no longer allows "diff -c3". --- gdb/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/Makefile.in') diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 87a7fdd..2e3d6f3 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -1043,7 +1043,7 @@ $(srcdir)/copying.c: @MAINTAINER_MODE_TRUE@ \ version.c: Makefile version.in rm -f version.c-tmp version.c echo '#include "version.h"' >> version.c-tmp - echo 'const char version[] = "'"`head -1 ${srcdir}/version.in`"'";' >> version.c-tmp + echo 'const char version[] = "'"`sed q ${srcdir}/version.in`"'";' >> version.c-tmp echo 'const char host_name[] = "$(host_alias)";' >> version.c-tmp echo 'const char target_name[] = "$(target_alias)";' >> version.c-tmp mv version.c-tmp version.c -- cgit v1.1