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

and.damore at macports.org and.damore at macports.org
Mon Feb 6 05:45:05 PST 2012


Revision: 89672
          http://trac.macports.org/changeset/89672
Author:   and.damore at macports.org
Date:     2012-02-06 05:45:03 -0800 (Mon, 06 Feb 2012)
Log Message:
-----------
portgroup github: avoid renaming extracted directory to $worksrcpath if its name is already correct

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-02-06 13:31:57 UTC (rev 89671)
+++ trunk/dports/_resources/port1.0/group/github-1.0.tcl	2012-02-06 13:45:03 UTC (rev 89672)
@@ -67,7 +67,7 @@
     fetch.ignore_sslcert    yes
     
     post-extract {
-        if {"standard" == ${fetch.type} && ${master_sites} == ${github.master_sites} && [llength ${distfiles}] > 0} {
+        if {![file exists ${worksrcpath}] && "standard" == ${fetch.type} && ${master_sites} == ${github.master_sites} && [llength ${distfiles}] > 0} {
             move [glob ${workpath}/*] ${worksrcpath}
         }
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120206/28c17afa/attachment.html>


More information about the macports-changes mailing list