Changeset 7838


Ignore:
Timestamp:
Jul 28, 2004, 4:13:49 AM (16 years ago)
Author:
ssen
Message:

Add "-" to the regex for bootstrap_options. This allows paths in the
config files to have hyphens, like "/opt/powerpc-apple-darwin8.0"

File:
1 edited

Legend:

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

    r7815 r7838  
    101101            while {[gets $fd line] >= 0} {
    102102                foreach option $bootstrap_options {
    103                     if {[regexp "^$option\[ \t\]+(\[A-Za-z0-9_:\./\]+$)" $line match val] == 1} {
     103                    if {[regexp "^$option\[ \t\]+(\[A-Za-z0-9_:\./-\]+$)" $line match val] == 1} {
    104104                        set darwinports::$option $val
    105105                        global darwinports::$option
Note: See TracChangeset for help on using the changeset viewer.