From: Tom Tromey Date: Sat, 7 Apr 2001 23:13:42 +0000 (+0000) Subject: 2001-04-07 Raja R Harinath X-Git-Tag: handle-languages~124 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=b757bb3ff975777a31dcd45aef3612fac1c15399;p=automake.git 2001-04-07 Raja R Harinath * depcomp (gcc3): Invert test condition. --- 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