about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-09-25 20:31:23 +0000
committerUlrich Drepper <drepper@redhat.com>2003-09-25 20:31:23 +0000
commit63461e754479c272b75fc219416142f38b4fb23e (patch)
tree5baaf00ea1a0f84d0f7f264dcd575560d0f3dfce
parent901956a52a8b376daa61730f6560cdaddda4b6e2 (diff)
downloadglibc-63461e754479c272b75fc219416142f38b4fb23e.tar.gz
glibc-63461e754479c272b75fc219416142f38b4fb23e.tar.xz
glibc-63461e754479c272b75fc219416142f38b4fb23e.zip
Update.
	* csu/Makefile ($(objpfx)version-info.h): Fix sed script to handle
	banners.
-rw-r--r--ChangeLog3
-rw-r--r--csu/Makefile2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 7936e523ce..36bda970f2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2003-09-25  Ulrich Drepper  <drepper@redhat.com>
 
+	* csu/Makefile ($(objpfx)version-info.h): Fix sed script to handle
+	banners.
+
 	* nis/nis_table.c (nis_list): Always strdup string used with
 	ibreq->ibr_name.  Add several NULL pointer checks.
 
diff --git a/csu/Makefile b/csu/Makefile
index 1a3c9c112c..9127aba08a 100644
--- a/csu/Makefile
+++ b/csu/Makefile
@@ -239,6 +239,6 @@ $(objpfx)version-info.h: $(common-objpfx)config.make $(all-Banner-files)
 	 if test -n "$$files"; then				\
 	   echo "\"Available extensions:\\n\"";			\
 	   sed -e '/^#/d' -e 's/^[[:space:]]*/	/'		\
-	       -e 's/\(^.*$$\)/\"\1\\n\"/' $$files;		\
+	       -e 's/^\(.*\)$$/\"\1\\n\"/' $$files;		\
 	 fi) > $@T
 	mv -f $@T $@