]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltconfig.in ($echo): When using printf to replace echo the shell
authorGary V. Vaughan <gary@gnu.org>
Wed, 27 Jan 1999 11:14:35 +0000 (11:14 +0000)
committerGary V. Vaughan <gary@gnu.org>
Wed, 27 Jan 1999 11:14:35 +0000 (11:14 +0000)
expands %sn to %sn.  Changed to use "%sn" (with quotes).
Reported by Sam Vilain <sam.vilain@nz.unisys.com>

ChangeLog
ltconfig.in

index 73083ce173c2d59da379c7ebe6a5d56916df5636..fecc04fc1a4753d7ccc2c6f008c949b569f2b77c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+1999-01-27  Gary V. Vaughan  <gvaughan@oranda.demon.co.uk>
+
+       * ltconfig.in ($echo):  When using printf to replace echo the shell
+       expands %s\n to %sn.  Changed to use "%s\n" (with quotes).
+       Reported by Sam Vilain <sam.vilain@nz.unisys.com>
+
 1999-01-27  Alexandre Oliva  <oliva@dcc.unicamp.br>
 
        * libltdl/ltdl.c (find_file): fix endless loop condition
index 67d21b73761bd6c144155a95bd2f8067fd71cc40..e89248fbf321bed82b704abf30be784a0d87ea64 100755 (executable)
@@ -106,7 +106,7 @@ if test "X`($echo '\t') 2>/dev/null`" != 'X\t' ||
       exec "$CONFIG_SHELL" "$0" --no-reexec ${1+"$@"}
     else
       # Try using printf.
-      echo='printf %s\n'
+      echo='printf "%s\n"'
       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
         test "X`($echo "$echo_test_string") 2>/dev/null`" = X"$echo_test_string"; then
        # Cool, printf works