OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-re Date: 18-Aug-2003 20:20:27
Branch: HEAD Handle: 2003081819202600
Modified files:
openpkg-re speclint.pl
Log:
disable the 'export PATH' check for now, because it is too weak
Summary:
Revision Changes Path
1.49 +6 -6 openpkg-re/speclint.pl
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-re/speclint.pl
============================================================================
$ cvs diff -u -r1.48 -r1.49 speclint.pl
--- openpkg-re/speclint.pl 23 Jul 2003 13:34:16 -0000 1.48
+++ openpkg-re/speclint.pl 18 Aug 2003 18:20:26 -0000 1.49
@@ -765,12 +765,12 @@
}
# check for redundant 'export PATH' statements
- $done = $outer_done; $this = ''; $todo = $outer_this;
- while ($todo =~ m/\bexport[ \t]+([a-zA-Z_][a-zA-Z0-9_]*[ \t]+)*PATH\b/s) {
- $done .= $`; $this = $&; $todo = $';
- &lint_warning($file, $done, $this, "section $section: redundant \"export
PATH\" statement (expected none)");
- $done .= $this;
- }
+ #$done = $outer_done; $this = ''; $todo = $outer_this;
+ #while ($todo =~ m/\bexport[ \t]+([a-zA-Z_][a-zA-Z0-9_]*[ \t]+)*PATH\b/s) {
+ # $done .= $`; $this = $&; $todo = $';
+ # &lint_warning($file, $done, $this, "section $section: redundant \"export
PATH\" statement (expected none)");
+ # $done .= $this;
+ #}
# check for obsolete cpp build flags
$done = $outer_done; $this = ''; $todo = $outer_this;
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]