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

File portlint.tcl.patchfile-name.diff, 777 bytes (added by ryandesign (Ryan Carsten Schmidt), 17 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        }