Changeset 2089


Ignore:
Timestamp:
Feb 27, 2003, 2:52:04 AM (17 years ago)
Author:
kevin
Message:

Propogate build failures back to the dependency evaluator.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/darwinports1.0/darwinports.tcl

    r2088 r2089  
    294294        # xxx: set the work path?
    295295        set workername [ditem_key $dport workername]
    296         if {![catch {$workername eval eval_targets $target} result]} {
     296        if {![catch {$workername eval eval_targets $target} result] && $result == 0} {
    297297                # xxx: clean after installing?
    298298                #$workername eval eval_targets clean
    299         }
    300        
     299                return 0
     300        } else {
     301                # An error occurred.
     302                return 1
     303        }
    301304}
    302305
Note: See TracChangeset for help on using the changeset viewer.