New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 81452


Ignore:
Timestamp:
07/30/11 20:39:03 (4 years ago)
Author:
jmr@…
Message:

only try to fetch in getportdir if the url is in fact a file, not if it's e.g. an unreadable directory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/macports1.0/macports.tcl

    r80932 r81452  
    12281228        file { 
    12291229            set path [file normalize [string range $url [expr [string length $protocol] + 3] end]] 
    1230             if {[file isdirectory $path]} { 
     1230            if {![file isfile $path]} { 
    12311231                return $path 
    12321232            } else { 
Note: See TracChangeset for help on using the changeset viewer.