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

mww at macports.org mww at macports.org
Tue Dec 10 09:13:16 PST 2013


Revision: 114576
          https://trac.macports.org/changeset/114576
Author:   mww at macports.org
Date:     2013-12-10 09:13:16 -0800 (Tue, 10 Dec 2013)
Log Message:
-----------
only move around directories in post-extract (improves compatibility for ports that use ${workpath} for auxiliary tools)

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	2013-12-10 16:45:16 UTC (rev 114575)
+++ trunk/dports/_resources/port1.0/group/github-1.0.tcl	2013-12-10 17:13:16 UTC (rev 114576)
@@ -83,7 +83,8 @@
                 ${fetch.type} eq "standard" && \
                 ${master_sites} eq ${github.master_sites} && \
                 [llength ${distfiles}] > 0 && \
-                [llength [glob -nocomplain ${workpath}/*]] > 0} {
+                [llength [glob -nocomplain ${workpath}/*]] > 0 && \
+                [file isdirectory [glob ${workpath}/*]]} {
             move [glob ${workpath}/*] ${worksrcpath}
         }
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131210/62b4983a/attachment.html>


More information about the macports-changes mailing list