Changeset 14563 for trunk/base


Ignore:
Timestamp:
Oct 11, 2005, 8:09:47 PM (19 years ago)
Author:
jberry
Message:

Fix issue in port(1) with options and variants, broken by my checkin this morning.
This showed up as options (like -f) not working. God, I hate tcl arrays.

Thanks for testing, Joe Autry!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/port/port.tcl

    r14556 r14563  
    33exec @TCLSH@ "$0" "$@"
    44# port.tcl
    5 # $Id: port.tcl,v 1.120 2005/10/11 13:06:51 jberry Exp $
     5# $Id: port.tcl,v 1.121 2005/10/11 20:09:47 jberry Exp $
    66#
    77# Copyright (c) 2004 Robert Shaw <rshaw@opendarwin.org>
     
    386386                        set portversion $portspec(version)
    387387                        array unset variations
    388                         array set variations [array get $portspec(variants)]
     388                        array set variations $portspec(variants)
    389389                        array unset options
    390                         array set options [array get $portspec(options)]
     390                        array set options $portspec(options)
    391391                }
    392392                uplevel 1 $block
Note: See TracChangeset for help on using the changeset viewer.