[24608] trunk/base/src/port1.0/portutil.tcl

source_changes at macosforge.org source_changes at macosforge.org
Sat Apr 28 18:35:43 PDT 2007


Revision: 24608
          http://trac.macosforge.org/projects/macports/changeset/24608
Author:   jmpp at macports.org
Date:     2007-04-28 18:35:43 -0700 (Sat, 28 Apr 2007)

Log Message:
-----------
Forgot to add suport for tbz2 named archives in portutil when first including it in portarchive.tcl (r22584 & r22585, me) and in portunarchive.tcl (r24576, blair@).

Modified Paths:
--------------
    trunk/base/src/port1.0/portutil.tcl

Modified: trunk/base/src/port1.0/portutil.tcl
===================================================================
--- trunk/base/src/port1.0/portutil.tcl	2007-04-29 00:53:29 UTC (rev 24607)
+++ trunk/base/src/port1.0/portutil.tcl	2007-04-29 01:35:43 UTC (rev 24608)
@@ -1740,8 +1740,8 @@
 		t(ar|bz|gz) {
 			set tar "tar"
 			if {[catch {set tar [binaryInPath $tar]} errmsg] == 0} {
-				if {[regexp {z$} $type]} {
-					if {[regexp {bz$} $type]} {
+				if {[regexp {z2?$} $type]} {
+					if {[regexp {bz2?$} $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/84e388d7/attachment.html


More information about the macports-changes mailing list