changeset 27282:928328edff48

Change a sed expression to be POSIX compliant.
author Bruno Haible <bruno@clisp.org>
date Wed, 01 Nov 2006 13:20:07 +0000
parents 1be8b6061af1
children e482c3607b46
files ChangeLog gnulib-tool
diffstat 2 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Nov 01 13:14:15 2006 +0000
+++ b/ChangeLog	Wed Nov 01 13:20:07 2006 +0000
@@ -1,3 +1,9 @@
+2006-11-01  Bruno Haible  <bruno@clisp.org>
+
+	* gnulib-tool (func_get_automake_snippet): Change sed_combine_lines to
+	be POSIX compliant.
+	Reported by Roger Persson <perrog@gmail.com>.
+
 2006-11-01  Eric Blake  <ebb9@byu.net>
 
 	* lib/getopt_.h: Fix comments.
--- a/gnulib-tool	Wed Nov 01 13:14:15 2006 +0000
+++ b/gnulib-tool	Wed Nov 01 13:20:07 2006 +0000
@@ -22,7 +22,7 @@
 
 progname=$0
 package=gnulib
-cvsdatestamp='$Date: 2006-10-23 11:25:20 $'
+cvsdatestamp='$Date: 2006-11-01 13:20:07 $'
 last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'`
 version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'`
 nl='
@@ -916,8 +916,7 @@
       sed_combine_lines='/\\$/{
         :a
         N
-        s/\\\
-//
+        s/\\\n//
         s/\\$/\\/
         ta
       }'