From: Alexandre Oliva Date: Thu, 8 Apr 1999 00:48:14 +0000 (+0000) Subject: * ltconfig.in (--fallback-echo): Do not put an inline document and X-Git-Tag: release-1-3~60 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=06ffacf4b9ecfc61d20ff32c4a5d46db5a061c39;p=thirdparty%2Flibtool.git * ltconfig.in (--fallback-echo): Do not put an inline document and an exec in the same if construct; otherwise the inline document may not be removed. * ltmain.in (--fallback-echo): Likewise. Reported by John David Anglin --- diff --git a/ChangeLog b/ChangeLog index 232e36339..f6140f206 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 1999-04-07 Alexandre Oliva + * ltconfig.in (--fallback-echo): Do not put an inline document and + an exec in the same if construct; otherwise the inline document + may not be removed. + * ltmain.in (--fallback-echo): Likewise. + Reported by John David Anglin + * dryrun.test: It would still fail at random times, because `cp' and `mv' are not guaranteed to preserve the timestamps of the installed files. Instead of preserving them, just remove them diff --git a/ltconfig.in b/ltconfig.in index 7f13f223d..e79953600 100755 --- a/ltconfig.in +++ b/ltconfig.in @@ -32,12 +32,8 @@ if test "X$1" = X--no-reexec; then # Discard the --no-reexec flag, and continue. shift elif test "X$1" = X--fallback-echo; then - # used as fallback echo - shift - cat </dev/null`" = 'X\t'; then # Yippee, $echo works! : @@ -46,6 +42,15 @@ else exec "$SHELL" "$0" --no-reexec ${1+"$@"} fi +if test "X$1" = X--fallback-echo; then + # used as fallback echo + shift + cat </dev/null`" = 'X\t'; then # Yippee, $echo works! : @@ -42,6 +38,15 @@ else exec $SHELL "$0" --no-reexec ${1+"$@"} fi +if test "X$1" = X--fallback-echo; then + # used as fallback echo + shift + cat <