[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian package checker branch, lab-refactor, updated. 2.5.3-67-g2752a71



The following commit has been merged in the lab-refactor branch:
commit 2752a71d141b90d9ac6065b997eef17dcc0bd458
Author: Niels Thykier <niels@thykier.net>
Date:   Sun Sep 25 09:24:53 2011 +0200

    Fixed the path to the lab pool
    
    It was pointing outside the lab.
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/lib/Lintian/Lab.pm b/lib/Lintian/Lab.pm
index 6c7a92a..afebd85 100644
--- a/lib/Lintian/Lab.pm
+++ b/lib/Lintian/Lab.pm
@@ -93,7 +93,7 @@ Lintian::Lab -- Interface to the Lintian Lab
  
  #FIXME: Add more to the synopsis here
  
- $lab->close;
+ $lab->close_lab;
 
 =head1 DESCRIPTION
 
@@ -271,7 +271,7 @@ sub _pool_path {
     } else {
         $p = substr $pkg_name, 0, 1;
     }
-    $path .= "pool/$p/$pkg_name/${pkg_name}_${pkg_version}";
+    $path .= "/pool/$p/$pkg_name/${pkg_name}_${pkg_version}";
     $path .= "_${pkg_arch}" unless $pkg_type eq 'source';
     $path .= "_${pkg_type}";
     return $path;

-- 
Debian package checker


Reply to: