From 9cc1cd7f09a24269d7204ac56b11e36ffbd0e992 Mon Sep 17 00:00:00 2001 From: "Gary V. Vaughan" Date: Wed, 27 Jan 1999 11:14:35 +0000 Subject: [PATCH] * ltconfig.in ($echo): When using printf to replace echo the shell expands %sn to %sn. Changed to use "%sn" (with quotes). Reported by Sam Vilain --- ChangeLog | 6 ++++++ ltconfig.in | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 73083ce17..fecc04fc1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +1999-01-27 Gary V. Vaughan + + * 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 + 1999-01-27 Alexandre Oliva * libltdl/ltdl.c (find_file): fix endless loop condition diff --git a/ltconfig.in b/ltconfig.in index 67d21b737..e89248fbf 100755 --- a/ltconfig.in +++ b/ltconfig.in @@ -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 -- 2.47.3