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

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

File:
1 edited

Legend:

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

    r102490 r102567  
    7979    post-extract {
    8080        if {![file exists ${worksrcpath}] && "standard" == ${fetch.type} && \
    81             ${master_sites} == ${bitbucket.master_sites} && [llength ${distfiles}] > 0} {
     81            ${master_sites} == ${bitbucket.master_sites} && [llength ${distfiles}] > 0 && \
     82            [llength [glob -nocomplain ${workpath}/*]] > 0} {
    8283            move [glob ${workpath}/*] ${worksrcpath}
    8384        }
Note: See TracChangeset for help on using the changeset viewer.