[88934] trunk/dports/_resources/port1.0/group/github-1.0.tcl

ryandesign at macports.org ryandesign at macports.org
Sat Jan 14 22:35:34 PST 2012


Revision: 88934
          http://trac.macports.org/changeset/88934
Author:   ryandesign at macports.org
Date:     2012-01-14 22:35:34 -0800 (Sat, 14 Jan 2012)
Log Message:
-----------
github-1.0.tcl: only rename extracted directory if the distfile came from github

Modified Paths:
--------------
    trunk/dports/_resources/port1.0/group/github-1.0.tcl

Modified: trunk/dports/_resources/port1.0/group/github-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/github-1.0.tcl	2012-01-15 06:33:43 UTC (rev 88933)
+++ trunk/dports/_resources/port1.0/group/github-1.0.tcl	2012-01-15 06:35:34 UTC (rev 88934)
@@ -56,7 +56,7 @@
     distname                ${github.project}-${github.version}
     
     post-extract {
-        if {"standard" == ${fetch.type}} {
+        if {"standard" == ${fetch.type} && ${master_sites} == ${github.master_sites}} {
             move [glob ${workpath}/*] ${worksrcpath}
         }
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120114/3d8a25de/attachment.html>


More information about the macports-changes mailing list