[34082] trunk/base/src/port1.0/portlint.tcl
raimue at macports.org
raimue at macports.org
Mon Feb 11 17:30:05 PST 2008
Revision: 34082
http://trac.macosforge.org/projects/macports/changeset/34082
Author: raimue at macports.org
Date: 2008-02-11 17:30:04 -0800 (Mon, 11 Feb 2008)
Log Message:
-----------
port1.0/portlint.tcl
Add a check if patch file actually exists locally before giving a warning about
our naming policy, closes #13615
Modified Paths:
--------------
trunk/base/src/port1.0/portlint.tcl
Modified: trunk/base/src/port1.0/portlint.tcl
===================================================================
--- trunk/base/src/port1.0/portlint.tcl 2008-02-12 01:28:49 UTC (rev 34081)
+++ trunk/base/src/port1.0/portlint.tcl 2008-02-12 01:30:04 UTC (rev 34082)
@@ -436,7 +436,7 @@
if {[info exists patchfiles]} {
foreach patchfile $patchfiles {
- if {![string match "patch-*.diff" $patchfile]} {
+ if {![string match "patch-*.diff" $patchfile] && [file exists "$portpath/files/$patchfile"]} {
ui_warn "Patchfile $patchfile does not follow the source patch naming policy \"patch-*.diff\""
incr warnings
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080211/9707d199/attachment.html
More information about the macports-changes
mailing list