From: Bruno Haible Date: Mon, 11 Dec 2006 18:19:59 +0000 (+0000) Subject: Fix 'join' invocation. X-Git-Tag: cvs-readonly~1496 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=88fe47aa9b6b72ce8e3627ca0c1d818ea1f8d539;p=gnulib.git Fix 'join' invocation. --- diff --git a/gnulib-tool b/gnulib-tool index 06e5b847c..4c9d863a4 100755 --- a/gnulib-tool +++ b/gnulib-tool @@ -22,7 +22,7 @@ progname=$0 package=gnulib -cvsdatestamp='$Date: 2006-12-11 12:41:09 $' +cvsdatestamp='$Date: 2006-12-11 18:19:59 $' last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'` version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'` nl=' @@ -2189,7 +2189,7 @@ func_import () # First the #include <...> directives without #ifs, sorted for convenience, # then the #include "..." directives without #ifs, sorted for convenience, # then the #include directives that are surrounded by #ifs. Not sorted. - for module in `join "$tmp"/modules1 "$tmp"/modules2`; do + for module in `LC_ALL=C join "$tmp"/modules1 "$tmp"/modules2`; do include_directive=`func_get_include_directive "$module"` case "$nl$include_directive" in *"$nl#if"*)