[68849] trunk/base/src/registry2.0/portimage.tcl
jmr at macports.org
jmr at macports.org
Tue Jun 15 13:41:19 PDT 2010
Revision: 68849
http://trac.macports.org/changeset/68849
Author: jmr at macports.org
Date: 2010-06-15 13:41:14 -0700 (Tue, 15 Jun 2010)
Log Message:
-----------
fix syntax error in conflict detection (#25255)
Modified Paths:
--------------
trunk/base/src/registry2.0/portimage.tcl
Modified: trunk/base/src/registry2.0/portimage.tcl
===================================================================
--- trunk/base/src/registry2.0/portimage.tcl 2010-06-15 18:17:23 UTC (rev 68848)
+++ trunk/base/src/registry2.0/portimage.tcl 2010-06-15 20:41:14 UTC (rev 68849)
@@ -483,7 +483,7 @@
# the registry
if { $owner != {} && $owner != $port } {
throw registry::image-error "Image error: $file is being used by the active [$owner name] port. Please deactivate this port first, or use 'port -f activate [$port name]' to force the activation."
- } elseif { $owner == {} && ![catch {[file type $file]}] } {
+ } elseif { $owner == {} && ![catch {file type $file}] } {
throw registry::image-error "Image error: $file already exists and does not belong to a registered port. Unable to activate port [$port name]. Use 'port -f activate [$port name]' to force the activation."
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100615/2dc69b26/attachment-0001.html>
More information about the macports-changes
mailing list