mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-01-12 14:06:37 +08:00
* 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 <dave.anglin@nrc.ca>
This commit is contained in:
parent
de757d463e
commit
45641b8620
@ -1,5 +1,11 @@
|
||||
1999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br>
|
||||
|
||||
* 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 <dave.anglin@nrc.ca>
|
||||
|
||||
* 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
|
||||
|
17
ltconfig.in
17
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 <<EOF
|
||||
$*
|
||||
EOF
|
||||
exit 0
|
||||
# Avoid inline document here, it may be left over
|
||||
:
|
||||
elif test "X`($echo '\t') 2>/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 <<EOF
|
||||
$*
|
||||
EOF
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Find the correct PATH separator. Usually this is `:', but
|
||||
# DJGPP uses `;' like DOS.
|
||||
if test "X${PATH_SEPARATOR+set}" != "Xset"; then
|
||||
|
17
ltmain.in
17
ltmain.in
@ -28,12 +28,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 <<EOF
|
||||
$*
|
||||
EOF
|
||||
exit 0
|
||||
# Avoid inline document here, it may be left over
|
||||
:
|
||||
elif test "X`($echo '\t') 2>/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 <<EOF
|
||||
$*
|
||||
EOF
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# The name of this program.
|
||||
progname=`$echo "$0" | sed 's%^.*/%%'`
|
||||
modename="$progname"
|
||||
|
Loading…
Reference in New Issue
Block a user