changeset 9001:bd8b65e64196

* gnulib-tool (func_add_or_update, func_create_testdir): Do not simplify `sed_replace_build_aux' scripts, they are portable but echoing them with `echo' is not. Report and analysis by Fernando Ferreira <fernando.prog@netcabo.pt>.
author Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
date Fri, 22 Jun 2007 18:16:39 +0000
parents cee3977e16f7
children 3b386f76923a
files ChangeLog gnulib-tool
diffstat 2 files changed, 8 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-06-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	* gnulib-tool (func_add_or_update, func_create_testdir): Do not
+	simplify `sed_replace_build_aux' scripts, they are portable but
+	echoing them with `echo' is not.
+	Report and analysis by Fernando Ferreira <fernando.prog@netcabo.pt>.
+
 2007-06-21  Karl Berry  <karl@gnu.org>
 
 	* config/srclist.txt: guess we can't handle the licenses via
--- a/gnulib-tool
+++ b/gnulib-tool
@@ -22,7 +22,7 @@
 
 progname=$0
 package=gnulib
-cvsdatestamp='$Date: 2007-05-28 15:46:55 $'
+cvsdatestamp='$Date: 2007-06-22 18:16:40 $'
 last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'`
 version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'`
 nl='
@@ -2174,7 +2174,6 @@
           s|AC_CONFIG_FILES(\(.*\):build-aux/\(.*\))|AC_CONFIG_FILES(\1:'"$auxdir"'/\2)|
           ba
         }'
-      sed_replace_build_aux=`echo "$sed_replace_build_aux" | sed -e 1d -e 's/^ *//'`
     else
       sed_replace_build_aux=
     fi
@@ -2623,7 +2622,6 @@
 	 s|AC_CONFIG_FILES(\(.*\):build-aux/\(.*\))|AC_CONFIG_FILES(\1:../'"$auxdir"'/\2)|
 	 ba
        }'
-     sed_replace_build_aux=`echo "$sed_replace_build_aux" | sed -e 1d -e 's/^ *//'`
      # We don't have explicit ordering constraints between the various
      # autoconf snippets. It's cleanest to put those of the library before
      # those of the tests.
@@ -2744,7 +2742,6 @@
          s|AC_CONFIG_FILES(\(.*\):build-aux/\(.*\))|AC_CONFIG_FILES(\1:'"$auxdir"'/\2)|
          ba
        }'
-     sed_replace_build_aux=`echo "$sed_replace_build_aux" | sed -e 1d -e 's/^ *//'`
    else
      sed_replace_build_aux=
    fi