diff options
author | Alan Modra <amodra@bigpond.net.au> | 2013-08-23 20:36:32 +0700 |
---|---|---|
committer | Gary V. Vaughan <gary@gnu.org> | 2013-08-23 20:38:47 +0700 |
commit | d1ddb6fbbf5f25e0cac740662631d40110a6d4d3 (patch) | |
tree | b6e79c4c9bb488fc6e0e276ea79f95dc42e933b9 /bootstrap | |
parent | c5d20a6dbcc867cec4bcd31f91ed52c71e4da36b (diff) | |
download | libtool-d1ddb6fbbf5f25e0cac740662631d40110a6d4d3.tar.gz |
bootstrap: make first char of IFS a space.
Putting tab first in IFS breaks func_echo_all usage of $*,
resulting in failure of func_infer_tag to match a command line
using a $CC with trailing spaces. The trailing spaces were
stripped out of CC_expanded but words in $CC were separated by
tabs. This didn't match the makefile expansion of $CC using the
standard IFS with a first char of space.
* gl/build-aux/funclib.sh (IFS): Make first char a space.
* bootstrap: Regenerate.
Signed-off-by: Gary V. Vaughan <gary@gnu.org>
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -9,7 +9,7 @@ # Source required external libraries: # Set a version string for this script. -scriptversion=2013-08-22.10; # UTC +scriptversion=2013-08-23.20; # UTC # General shell script boiler plate, and helper functions. # Written by Gary V. Vaughan, 2004 @@ -92,7 +92,7 @@ done sp=' ' nl=' ' -IFS=" $sp$nl" +IFS="$sp $nl" # There are still modern systems that have problems with 'echo' mis- # handling backslashes, among others, so make sure $bs_echo is set to a |