Changeset 30160 for trunk/base


Ignore:
Timestamp:
Oct 21, 2007, 11:19:10 PM (12 years ago)
Author:
nox@…
Message:

portlint.tcl (closes #12958): Added patchfiles format check.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/port1.0/portlint.tcl

    r29306 r30160  
    271271    set portarch ${os.arch}
    272272    global description long_description platforms categories all_variants
    273     global maintainers homepage master_sites checksums
     273    global maintainers homepage master_sites checksums patchfiles
    274274   
    275275    global lint_portsystem lint_platforms lint_categories
     
    381381    }
    382382
     383    if {[info exists patchfiles]} {
     384        foreach patchfile $patchfiles {
     385            if {![string match "patch-*.diff" $patchfile]} {
     386                ui_warn "Patchfile $patchfile does not follow the source patch naming policy \"patch-*.file\""
     387                incr warnings
     388            }
     389        }
     390    }
     391
    383392    ### TODO: more checks to Tcl variables/sections
    384393
Note: See TracChangeset for help on using the changeset viewer.