Changeset 186


Ignore:
Timestamp:
Aug 17, 2002, 11:07:37 PM (18 years ago)
Author:
landonf (Landon Fuller)
Message:

Fix variable value regexp for once and for all (i hope)

Location:
trunk/base
Files:
2 edited

Legend:

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

    r184 r186  
    8282
    8383        foreach opt $options {
    84                 if {[regexp {([A-Za-z_\.]+)=([A-Za-z0-9\ _\.]+)} $opt match key val] == 1} {
     84                if {[regexp {([A-Za-z_\.]+)=(.+)} $opt match key val] == 1} {
    8585                        workerbee eval set user_options($key) \"$val\"
    8686                        workerbee eval set $key \"$val\"
  • trunk/base/bin/portbuild

    r184 r186  
    3131                }
    3232                {[A-Za-z_\.]+=[A-Za-z0-9\ _\.]+} {
    33                         if {[regexp {([A-Za-z_\.]+)=([A-Za-z0-9\ _\.]+)} [lindex $argv $i] match key val] == 1} {
     33                        if {[regexp {([A-Za-z_\.]+)=(.+)} [lindex $argv $i] match key val] == 1} {
    3434                                lappend options [lindex $argv $i]
    3535                        }
Note: See TracChangeset for help on using the changeset viewer.