New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #14799: portlint.tcl.patchfile-name.diff

File portlint.tcl.patchfile-name.diff, 0.8 KB (added by ryandesign@…, 4 years ago)

be less pedantic about patchfile names

  • src/port1.0/portlint.tcl

     
    475475 
    476476    if {[info exists patchfiles]} { 
    477477        foreach patchfile $patchfiles { 
    478             if {![string match "patch-*.diff" $patchfile] && [file exists "$portpath/files/$patchfile"]} { 
    479                 ui_warn "Patchfile $patchfile does not follow the source patch naming policy \"patch-*.diff\"" 
     478            if {![string match "patch-*" $patchfile] && [file exists "$portpath/files/$patchfile"]} { 
     479                ui_warn "Patchfile $patchfile does not follow the source patch naming policy \"patch-*\"" 
    480480                incr warnings 
    481481            } 
    482482        }