Changeset 1449


Ignore:
Timestamp:
Dec 17, 2002, 2:19:49 PM (18 years ago)
Author:
landonf (Landon Fuller)
Message:

Make search_string consistent between port/port.tcl and port1.0/portutil.tcl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/landonf-1_0/base/src/port1.0/portutil.tcl

    r1447 r1449  
    10861086    }
    10871087        # Escape regex special characters
    1088         regsub -all "(\\(){1}|(\\)){1}|(\\{1}){1}|(\\+){1}|(\\{1}){1}|(\\{){1}|(\\}){1}|(\\^){1}|(\\$){1}|(\\.){1}|(\\\\){1}" $portname "\\\\&" searchstring
    1089 
    1090     set res [dportsearch ^$searchstring\$]
     1088        regsub -all "(\\(){1}|(\\)){1}|(\\{1}){1}|(\\+){1}|(\\{1}){1}|(\\{){1}|(\\}){1}|(\\^){1}|(\\$){1}|(\\.){1}|(\\\\){1}" $portname "\\\\&" search_string
     1089
     1090    set res [dportsearch ^$search_string\$]
    10911091    if {[llength $res] < 2} {
    10921092        ui_error "Portfile $portname not found"
Note: See TracChangeset for help on using the changeset viewer.