Ignore:
Timestamp:
Feb 4, 2013, 10:32:03 PM (7 years ago)
Author:
sean@…
Message:

github-1.0: fix error with moving an empty list of files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/github-1.0.tcl

    r102489 r102566  
    8181    post-extract {
    8282        if {![file exists ${worksrcpath}] && "standard" == ${fetch.type} && \
    83             ${master_sites} == ${github.master_sites} && [llength ${distfiles}] > 0} {
     83            ${master_sites} == ${github.master_sites} && [llength ${distfiles}] > 0 && \
     84            [llength [glob -nocomplain ${workpath}/*]] > 0} {
    8485            move [glob ${workpath}/*] ${worksrcpath}
    8586        }
Note: See TracChangeset for help on using the changeset viewer.