From b757bb3ff975777a31dcd45aef3612fac1c15399 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sat, 7 Apr 2001 23:13:42 +0000 Subject: [PATCH] 2001-04-07 Raja R Harinath * depcomp (gcc3): Invert test condition. --- ChangeLog | 4 ++++ depcomp | 2 +- lib/depcomp | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0aa8a91c..d5a55209 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2001-04-07 Raja R Harinath + + * depcomp (gcc3): Invert test condition. + 2001-04-07 Tom Tromey * depcomp (gcc3, gcc): Don't assume $? will be set in `if' diff --git a/depcomp b/depcomp index c61ed813..71e0ec05 100755 --- a/depcomp +++ b/depcomp @@ -53,7 +53,7 @@ gcc3) ## we want. Yay! "$@" -MT "$object" -MF "$tmpdepfile" -MD -MP stat=$? - if test $stat -ne 0; then : + if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat diff --git a/lib/depcomp b/lib/depcomp index c61ed813..71e0ec05 100755 --- a/lib/depcomp +++ b/lib/depcomp @@ -53,7 +53,7 @@ gcc3) ## we want. Yay! "$@" -MT "$object" -MF "$tmpdepfile" -MD -MP stat=$? - if test $stat -ne 0; then : + if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat -- 2.43.5