Modified: trunk/base/src/macports1.0/macports.tcl (81451 => 81452)
--- trunk/base/src/macports1.0/macports.tcl 2011-07-31 02:59:44 UTC (rev 81451)
+++ trunk/base/src/macports1.0/macports.tcl 2011-07-31 03:39:03 UTC (rev 81452)
@@ -1227,7 +1227,7 @@
switch ${protocol} {
file {
set path [file normalize [string range $url [expr [string length $protocol] + 3] end]]
- if {[file isdirectory $path]} {
+ if {![file isfile $path]} {
return $path
} else {
# need to create a local dir for the exracted port, but only once