Revision: 89672 http://trac.macports.org/changeset/89672 Author: and.damore@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} } }
participants (1)
-
and.damore@macports.org