compat.exp (compat-execute): Fix logic error in last change.

* lib/compat.exp (compat-execute): Fix logic error in last
	change.

From-SVN: r58962
This commit is contained in:
Hans-Peter Nilsson 2002-11-09 23:24:01 +00:00 committed by Hans-Peter Nilsson
parent ad980a7b82
commit 323941f6b6
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-11-09 Hans-Peter Nilsson <hp@bitrange.com>
* lib/compat.exp (compat-execute): Fix logic error in last
change.
2002-11-09 Neil Booth <neil@daikokuya.co.uk>
* gcc.dg/cpp/trad/assembler.S, gcc.dg/cpp/trad/directive.c: Update.

View File

@ -231,7 +231,7 @@ proc compat-execute { src1 use_alt } {
set files [glob -nocomplain *.o]
if { $files != "" } {
foreach objfile $files {
if { [info exists gluefile] && $objfile != $gluefile } {
if { ![info exists gluefile] || $objfile != $gluefile } {
eval "remote_file build delete $objfile"
}
}