OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Thomas Lotterer
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-tools                    Date:   03-Aug-2006 02:32:10
  Branch: HEAD                             Handle: 2006080301321000

  Modified files:
    openpkg-tools/cmd       lint-rc.pl

  Log:
    fix lint-rc looking for "dashed" package name where it must watch out
    for "underscored" package name

  Summary:
    Revision    Changes     Path
    1.7         +2  -2      openpkg-tools/cmd/lint-rc.pl
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-tools/cmd/lint-rc.pl
  ============================================================================
  $ cvs diff -u -r1.6 -r1.7 lint-rc.pl
  --- openpkg-tools/cmd/lint-rc.pl      1 Jan 2006 14:04:49 -0000       1.6
  +++ openpkg-tools/cmd/lint-rc.pl      3 Aug 2006 00:32:10 -0000       1.7
  @@ -442,13 +442,13 @@
       #   check rcService short circuit
       if ($section !~ m/^%(config|common|info)$/) {
           $done = $outer_done; $this = ''; $todo = $outer_this;
  -        if ( $todo !~ m/^[^\n]+\n    rcService $pkg enable yes \|\| exit 
0\n/s ) {
  +        if ( $todo !~ m/^[^\n]+\n    rcService $pkgu enable yes \|\| exit 
0\n/s ) {
               &lint_warning($file, $done, $this, "section $section: 
\"rcService ... enable yes\" short circuit missing");
           }
           else {
               #   check rcService package reference
               $done = $outer_done; $this = ''; $todo = $outer_this;
  -            if ( $todo !~ m/\brcService\s+$pkg\s+/s ) {
  +            if ( $todo !~ m/\brcService\s+$pkgu\s+/s ) {
                   &lint_warning($file, $done, $this, "section $section: 
rcService referencing wrong package");
               }
           }
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to