changeset 12917:66202bb71d56

Fix incorrect Makefile.am generation in German locale.
author Bruno Haible <bruno@clisp.org>
date Sun, 07 Mar 2010 14:27:02 +0100
parents 850c75255fa5
children 1aed01763cec
files ChangeLog gnulib-tool
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-03-07  Bruno Haible  <bruno@clisp.org>
+
+	Fix incorrect Makefile.am generation in German locale.
+	* gnulib-tool (func_emit_lib_Makefile_am, func_emit_tests_Makefile_am):
+	Execute sed command with character range in C locale.
+
 2010-03-06  Bruno Haible  <bruno@clisp.org>
 
 	Tests for module 'iconv-h'.
--- a/gnulib-tool
+++ b/gnulib-tool
@@ -2543,6 +2543,7 @@
       if test -n "$module"; then
         {
           func_get_automake_snippet "$module" |
+            LC_ALL=C \
             sed -e 's,lib_LIBRARIES,lib%_LIBRARIES,g' \
                 -e 's,lib_LTLIBRARIES,lib%_LTLIBRARIES,g' \
                 -e "$sed_eliminate_LDFLAGS" \
@@ -2802,6 +2803,7 @@
       if test -n "$module"; then
         {
           func_get_automake_snippet "$module" |
+            LC_ALL=C \
             sed -e 's,lib_LIBRARIES,lib%_LIBRARIES,g' \
                 -e 's,lib_LTLIBRARIES,lib%_LTLIBRARIES,g' \
                 -e "$sed_eliminate_LDFLAGS" \