[72122] trunk/base/src/macports1.0/macports.tcl
raimue at macports.org
raimue at macports.org
Mon Oct 4 03:09:05 PDT 2010
Revision: 72122
http://trac.macports.org/changeset/72122
Author: raimue at macports.org
Date: 2010-10-04 03:09:02 -0700 (Mon, 04 Oct 2010)
Log Message:
-----------
mportselect: An empty string is an invalid version
Modified Paths:
--------------
trunk/base/src/macports1.0/macports.tcl
Modified: trunk/base/src/macports1.0/macports.tcl
===================================================================
--- trunk/base/src/macports1.0/macports.tcl 2010-10-04 09:25:18 UTC (rev 72121)
+++ trunk/base/src/macports1.0/macports.tcl 2010-10-04 10:09:02 UTC (rev 72122)
@@ -3474,7 +3474,7 @@
}
set {
# Use $conf_path/$version to read in sources.
- if {$version == "base" || $version == "current"
+ if {$version == "" || $version == "base" || $version == "current"
|| [catch {set src_file [open "$conf_path/$version"]} result]} {
global errorInfo
ui_debug "$result: $errorInfo"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101004/f6b205c2/attachment.html>
More information about the macports-changes
mailing list