[30805] trunk/base/src/port1.0/portlint.tcl
source_changes at macosforge.org
source_changes at macosforge.org
Wed Nov 7 02:29:56 PST 2007
Revision: 30805
http://trac.macosforge.org/projects/macports/changeset/30805
Author: ryandesign at macports.org
Date: 2007-11-07 02:29:51 -0800 (Wed, 07 Nov 2007)
Log Message:
-----------
Fix lint's RCS tag check to require the closing dollar sign on $Id$
Modified Paths:
--------------
trunk/base/src/port1.0/portlint.tcl
Modified: trunk/base/src/port1.0/portlint.tcl
===================================================================
--- trunk/base/src/port1.0/portlint.tcl 2007-11-07 10:11:31 UTC (rev 30804)
+++ trunk/base/src/port1.0/portlint.tcl 2007-11-07 10:29:51 UTC (rev 30805)
@@ -205,11 +205,11 @@
ui_info "OK: Line $lineno has emacs/vim Mode"
incr topline_number
}
- if {($lineno == $topline_number) && ![string match "*\$Id*" $line]} {
- ui_warn "Line $lineno is missing RCS tag (\$Id)"
+ if {($lineno == $topline_number) && ![string match "*\$Id*\$" $line]} {
+ ui_warn "Line $lineno is missing RCS tag (\$Id\$)"
incr warnings
} elseif {($lineno == $topline_number)} {
- ui_info "OK: Line $lineno has RCS tag (\$Id)"
+ ui_info "OK: Line $lineno has RCS tag (\$Id\$)"
set require_blank true
set require_after "RCS tag"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071107/bb049791/attachment.html
More information about the macports-changes
mailing list