Ignore:
Timestamp:
Jan 15, 2012, 7:19:17 AM (8 years ago)
Author:
ryandesign@…
Message:

github-1.0.tcl: only attempt to rename extracted directory if there is at least one distfile

File:
1 edited

Legend:

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

    r88936 r88941  
    5858   
    5959    post-extract {
    60         if {"standard" == ${fetch.type} && ${master_sites} == ${github.master_sites}} {
     60        if {"standard" == ${fetch.type} && ${master_sites} == ${github.master_sites} && [llength ${distfiles}] > 0} {
    6161            move [glob ${workpath}/*] ${worksrcpath}
    6262        }
Note: See TracChangeset for help on using the changeset viewer.