[24576] trunk/base/src/package1.0/portunarchive.tcl
source_changes at macosforge.org
source_changes at macosforge.org
Sat Apr 28 10:06:30 PDT 2007
Revision: 24576
http://trac.macosforge.org/projects/macports/changeset/24576
Author: blair at macports.org
Date: 2007-04-28 10:06:30 -0700 (Sat, 28 Apr 2007)
Log Message:
-----------
* base/src/package1.0/portunarchive.tcl
(unarchive_command_setup):
Enable the unarchive to work with archives ending in tbz2.
Modified Paths:
--------------
trunk/base/src/package1.0/portunarchive.tcl
Modified: trunk/base/src/package1.0/portunarchive.tcl
===================================================================
--- trunk/base/src/package1.0/portunarchive.tcl 2007-04-28 17:01:16 UTC (rev 24575)
+++ trunk/base/src/package1.0/portunarchive.tcl 2007-04-28 17:06:30 UTC (rev 24576)
@@ -197,9 +197,9 @@
ui_debug "Using $tar"
set unarchive.cmd "$tar"
set unarchive.pre_args {-xvpf}
- if {[regexp {z$} ${unarchive.type}]} {
+ if {[regexp {z2?$} ${unarchive.type}]} {
set unarchive.args {-}
- if {[regexp {bz$} ${unarchive.type}]} {
+ if {[regexp {bz2?$} ${unarchive.type}]} {
set gzip "bzip2"
} else {
set gzip "gzip"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070428/12bb6d4f/attachment.html
More information about the macports-changes
mailing list