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

[SCM] Debian package checker branch, master, updated. 2.5.4-63-g6dfaa66



The following commit has been merged in the master branch:
commit 6dfaa66f90b983151b105d8a137b230976313f29
Author: Niels Thykier <niels@thykier.net>
Date:   Thu Dec 22 10:12:54 2011 +0100

    Minor correction to the path of the dch in _guess_version
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/frontend/lintian b/frontend/lintian
index e16c5ed..930bdfa 100755
--- a/frontend/lintian
+++ b/frontend/lintian
@@ -1753,7 +1753,7 @@ sub _guess_version {
     # git was not possible - maybe the changelog is available
     if ( -f "$rootdir/debian/changelog" ) {
         eval {
-            my $changelog = Parse::DebianChangelog->init({ infile => dirname(__FILE__) . "/../debian/changelog" });
+            my $changelog = Parse::DebianChangelog->init({ infile => "$rootdir/debian/changelog" });
             $guess = $changelog->dpkg()->{'Version'} if $changelog;
         };
         return $guess if $guess;

-- 
Debian package checker


Reply to: