Changeset 15874


Ignore:
Timestamp:
Jan 16, 2006, 4:39:11 AM (15 years ago)
Author:
jberry
Message:

By inspection, deps suffers the same problem upgrade did: it really wants an
exact search by portname. Fix this by calling dportsearch with the exact flag.

File:
1 edited

Legend:

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

    r15873 r15874  
    11# darwinports.tcl
    2 # $Id: darwinports.tcl,v 1.205 2006/01/16 04:33:25 jberry Exp $
     2# $Id: darwinports.tcl,v 1.206 2006/01/16 04:39:11 jberry Exp $
    33#
    44# Copyright (c) 2002 Apple Computer, Inc.
     
    12631263               
    12641264                # Find the porturl
    1265                 if {[catch {set res [dportsearch "^$dep_portname\$"]} error]} {
     1265                if {[catch {set res [dportsearch $dep_portname false exact]} error]} {
    12661266                        global errorInfo
    12671267                        ui_debug "$errorInfo"
Note: See TracChangeset for help on using the changeset viewer.