[147035] branches/vcs-fetch/base/src/port1.0/portfetch.tcl

raimue at macports.org raimue at macports.org
Wed Mar 23 18:46:27 PDT 2016


Revision: 147035
          https://trac.macports.org/changeset/147035
Author:   raimue at macports.org
Date:     2016-03-23 18:46:27 -0700 (Wed, 23 Mar 2016)
Log Message:
-----------
Use ${git.file} variable

Modified Paths:
--------------
    branches/vcs-fetch/base/src/port1.0/portfetch.tcl

Modified: branches/vcs-fetch/base/src/port1.0/portfetch.tcl
===================================================================
--- branches/vcs-fetch/base/src/port1.0/portfetch.tcl	2016-03-24 01:39:09 UTC (rev 147034)
+++ branches/vcs-fetch/base/src/port1.0/portfetch.tcl	2016-03-24 01:46:27 UTC (rev 147035)
@@ -651,7 +651,7 @@
 
 # Initialize fetch target and call checkfiles.
 proc portfetch::fetch_init {args} {
-    global fetch.type distname git.branch all_dist_files
+    global fetch.type distname git.branch git.file all_dist_files
     variable fetch_urls
 
     portfetch::checkfiles fetch_urls
@@ -659,8 +659,8 @@
     switch -- "${fetch.type}" {
         git {
             if {[git_tarballable]} {
-                lappend all_dist_files ${distname}.${fetch.type}.tar.xz
-                distfiles-append ${distname}.${fetch.type}.tar.xz
+                lappend all_dist_files ${git.file}
+                distfiles-append ${git.file}
             }
         }
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160323/1b7a5a04/attachment.html>


More information about the macports-changes mailing list