]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
bootstrap: make first char of IFS a space.
authorAlan Modra <amodra@bigpond.net.au>
Fri, 23 Aug 2013 13:36:32 +0000 (20:36 +0700)
committerGary V. Vaughan <gary@gnu.org>
Fri, 23 Aug 2013 13:38:47 +0000 (20:38 +0700)
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>
bootstrap
gl/build-aux/funclib.sh

index 409d387b74088e15ed08f162a497fbc982fa6c14..006cde31274011b11c5b47978d14af1a46e50be2 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -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
index 35941076ea5b414e934a32e04e999fac58b21808..fbaa8d0f33d4d92ff6c08f5c84a5a3173841c0b5 100644 (file)
@@ -1,5 +1,5 @@
 # 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
@@ -82,7 +82,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