Changeset 145162


Ignore:
Timestamp:
Jan 27, 2016, 12:56:40 PM (4 years ago)
Author:
raimue@…
Message:

base: always write variant selection to statefile, even when running in force mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/port1.0/portutil.tcl

    r145037 r145162  
    21162116        }
    21172117    }
    2118     if {$statereq && ![tbool ports_force]} {
     2118    if {$statereq} {
    21192119
    21202120        set state_fd [open_statefile]
    21212121
    21222122        array set oldvariations {}
    2123         if {[check_statefile_variants variations oldvariations $state_fd]} {
     2123        if {![tbool ports_force] && [check_statefile_variants variations oldvariations $state_fd]} {
    21242124            ui_error "Requested variants \"[canonicalize_variants [array get variations]]\" do not match those the build was started with: \"[canonicalize_variants [array get oldvariations]]\"."
    21252125            ui_error "Please use the same variants again, or run 'port clean [option subport]' first to remove the existing partially completed build."
Note: See TracChangeset for help on using the changeset viewer.