summary refs log tree commit diff
diff options
context:
space:
mode:
-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 $@