The following commit has been merged in the master branch:
commit cc177876a5a0b60e97f3ac00ee3db4f6613d9089
Author: Niels Thykier <[email protected]>
Date:   Mon Sep 19 17:23:37 2011 +0200

    Correctly handle $TMPDIR not being an absolute path
    
    Signed-off-by: Niels Thykier <[email protected]>

diff --git a/debian/changelog b/debian/changelog
index e76e26e..2deb702 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -22,6 +22,8 @@ lintian (2.5.4) UNRELEASED; urgency=low
   * lib/Lab.pm:
     + [NT] Updated it to use Lintian::Output::verbosity_level rather
       than verbose.
+    + [JW,NT] Correctly handle $TMPDIR not being an absolute path.
+      (Closes: #642113)
   * lib/Lintian/Collect/Source.pm:
     + [JW] Fixed call to binary_field in binary_relation.
       (Closes: #641609)
diff --git a/lib/Lab.pm b/lib/Lab.pm
index 9b330e6..6b0a382 100644
--- a/lib/Lab.pm
+++ b/lib/Lab.pm
@@ -106,8 +106,7 @@ sub _init {
             $absdir = Cwd::realpath($dir);
             fail("Cannot determine the absolute path of $dir: $!")
                 unless $absdir;
-
-           if ($self->_do_setup( $dir )) {
+           if ($self->_do_setup( $absdir )) {
                $created = 1;
                last;
            }

-- 
Debian package checker


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to