OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Thomas Lotterer
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-re Date: 09-Jul-2003 16:59:50
Branch: HEAD Handle: 2003070915595000
Modified files:
openpkg-re rclint.pl
Log:
enable variables for virtual (upper case) packages; remove mta special
case
Summary:
Revision Changes Path
1.5 +1 -1 openpkg-re/rclint.pl
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-re/rclint.pl
============================================================================
$ cvs diff -u -r1.4 -r1.5 rclint.pl
--- openpkg-re/rclint.pl 9 Jul 2003 14:06:00 -0000 1.4
+++ openpkg-re/rclint.pl 9 Jul 2003 14:59:50 -0000 1.5
@@ -374,7 +374,7 @@
$done = $outer_done; $this = ''; $todo = $outer_this;
while ($todo =~ m/ [^=]+=[^\n]+/s) {
$done .= $`; $this = $&; $todo = $';
- if ($this !~ m/ ($pkgu|mta|pop|jre|jdk|java)[a-z_]+=/) { #FIXME
replace mta|pop|j... with upper case in rc/spec !?
+ if ($this !~ m/ ([A-Z]+|$pkgu|pop|jre|jdk|java)[a-z_]+=/) { #FIXME
remove special cases from rc/spec
&lint_warning($file, $done, $this, "section $section: badly
prefixed variable");
}
$done .= $this;
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]