[136511] trunk/base/src/macports1.0/macports.tcl

jmr at macports.org jmr at macports.org
Tue May 19 19:21:55 PDT 2015


Revision: 136511
          https://trac.macports.org/changeset/136511
Author:   jmr at macports.org
Date:     2015-05-19 19:21:54 -0700 (Tue, 19 May 2015)
Log Message:
-----------
missed a spot in r136510

Revision Links:
--------------
    https://trac.macports.org/changeset/136510

Modified Paths:
--------------
    trunk/base/src/macports1.0/macports.tcl

Modified: trunk/base/src/macports1.0/macports.tcl
===================================================================
--- trunk/base/src/macports1.0/macports.tcl	2015-05-20 02:06:20 UTC (rev 136510)
+++ trunk/base/src/macports1.0/macports.tcl	2015-05-20 02:21:54 UTC (rev 136511)
@@ -1545,7 +1545,7 @@
         # the file is not a valid binary archive, assume it's an archive just
         # containing Portfile and the files directory
         set binary 0
-        set portname [file rootname $fetchfile]
+        set portname [file rootname [file tail $filepath]]
     }
 
     # extract the portfile (and possibly files dir if not a binary archive)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150519/68a33e44/attachment.html>


More information about the macports-changes mailing list