[102566] trunk/dports/_resources/port1.0/group/github-1.0.tcl
sean at macports.org
sean at macports.org
Mon Feb 4 14:32:03 PST 2013
Revision: 102566
https://trac.macports.org/changeset/102566
Author: sean at macports.org
Date: 2013-02-04 14:32:03 -0800 (Mon, 04 Feb 2013)
Log Message:
-----------
github-1.0: fix error with moving an empty list of files
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-02-04 22:29:06 UTC (rev 102565)
+++ trunk/dports/_resources/port1.0/group/github-1.0.tcl 2013-02-04 22:32:03 UTC (rev 102566)
@@ -80,7 +80,8 @@
post-extract {
if {![file exists ${worksrcpath}] && "standard" == ${fetch.type} && \
- ${master_sites} == ${github.master_sites} && [llength ${distfiles}] > 0} {
+ ${master_sites} == ${github.master_sites} && [llength ${distfiles}] > 0 && \
+ [llength [glob -nocomplain ${workpath}/*]] > 0} {
move [glob ${workpath}/*] ${worksrcpath}
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130204/6e331f36/attachment.html>
More information about the macports-changes
mailing list