[81577] trunk/base/src/registry2.0/portimage.tcl
jmr at macports.org
jmr at macports.org
Mon Aug 1 23:52:39 PDT 2011
Revision: 81577
http://trac.macports.org/changeset/81577
Author: jmr at macports.org
Date: 2011-08-01 23:52:37 -0700 (Mon, 01 Aug 2011)
Log Message:
-----------
determine archive type correctly when activating (#30532)
Modified Paths:
--------------
trunk/base/src/registry2.0/portimage.tcl
Modified: trunk/base/src/registry2.0/portimage.tcl
===================================================================
--- trunk/base/src/registry2.0/portimage.tcl 2011-08-02 06:34:14 UTC (rev 81576)
+++ trunk/base/src/registry2.0/portimage.tcl 2011-08-02 06:52:37 UTC (rev 81577)
@@ -304,7 +304,7 @@
set unarchive.pre_args {}
set unarchive.args {}
set unarchive.pipe_cmd ""
- set unarchive.type [file tail $location]
+ set unarchive.type [file extension $location]
switch -regex ${unarchive.type} {
cp(io|gz) {
set pax "pax"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110801/db74d9ff/attachment.html>
More information about the macports-changes
mailing list