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-Jul-2003 00:25:36 Branch: HEAD Handle: 2003071723253500 Modified files: openpkg-re speclint.pl Log: disable two checks until they are %{l_value} aware Summary: Revision Changes Path 1.35 +4 -4 openpkg-re/speclint.pl ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-re/speclint.pl ============================================================================ $ cvs diff -u -r1.34 -r1.35 speclint.pl --- openpkg-re/speclint.pl 17 Jul 2003 18:41:29 -0000 1.34 +++ openpkg-re/speclint.pl 17 Jul 2003 22:25:35 -0000 1.35 @@ -707,15 +707,15 @@ # check paths if (($#cmd - $i) > 2 and $cmd[-1] !~ m|/$|) { # simple case: multiple sources require target to be a directory - &lint_warning($file, $done, $this, "section $section: missing trailing slash on " . - "destination path in \"shtool install\" command (expected one) 1"); + #&lint_warning($file, $done, $this, "section $section: missing trailing slash on " . + # "destination path in \"shtool install\" command (expected one) 1"); } elsif (($#cmd - $i) == 2 and $cmd[-1] !~ m|/$|) { # complex case: single source, so we can check only known destination paths if ( $cmd[-1] =~ m/\%\{l_prefix\}\/(bin|cgi|include|info|lib|pub|sbin)$/ or $cmd[-1] =~ m/\%\{l_prefix\}\/(etc|libexec|man|share|var)(\/[^\/]+)?$/) { - &lint_warning($file, $done, $this, "section $section: missing trailing slash on " . - "destination path in \"shtool install\" command (expected one) 2"); + #&lint_warning($file, $done, $this, "section $section: missing trailing slash on " . + # "destination path in \"shtool install\" command (expected one) 2"); } } else { @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]