OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-tools Date: 29-Jul-2004 09:12:09
Branch: HEAD Handle: 2004072908120900
Modified files:
openpkg-tools/cmd lint-rc.pl
Log:
fix check and output more details
Summary:
Revision Changes Path
1.4 +2 -2 openpkg-tools/cmd/lint-rc.pl
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-tools/cmd/lint-rc.pl
============================================================================
$ cvs diff -u -r1.3 -r1.4 lint-rc.pl
--- openpkg-tools/cmd/lint-rc.pl 18 Apr 2004 10:30:55 -0000 1.3
+++ openpkg-tools/cmd/lint-rc.pl 29 Jul 2004 07:12:09 -0000 1.4
@@ -247,8 +247,8 @@
}
# check for mandatory/wished trailing blank line
- if ($spec !~ m|\n\n$|) {
- &lint_warning($file, $done, "", "mandatory/wished trailing blank line
missing (expected one)");
+ if ($spec !~ m|\n\n$|s) {
+ &lint_warning($file, $done, "", "mandatory/wished trailing blank line at
end of file missing (expected one)");
}
}
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]