]> git.donarmstrong.com Git - debhelper.git/commitdiff
Fix typo in call to abs2rel in --builddir sanitize code. Closes: #567737
authorJoey Hess <joey@gnu.kitenet.net>
Sun, 31 Jan 2010 01:22:58 +0000 (20:22 -0500)
committerJoey Hess <joey@gnu.kitenet.net>
Sun, 31 Jan 2010 01:22:58 +0000 (20:22 -0500)
Debian/Debhelper/Buildsystem.pm
debian/changelog

index f729c0da4ac4bd1debdd9c8491b1507b27ddd807..88aefab37a5c42a1102fe9f727891901f73a0d88 100644 (file)
@@ -96,7 +96,7 @@ sub _set_builddir {
                        $builddir = File::Spec->catdir($this->{cwd}, $builddir);
                }
                elsif ($builddir =~ /\Q$this->{cwd}\E/) {
-                       $builddir = File::Spec::abs2rel($builddir, $this->{cwd});
+                       $builddir = File::Spec->abs2rel($builddir, $this->{cwd});
                }
 
                # If build directory ends up the same as source directory, drop it
index 7858a5d63b96212d0ea17366b733c4196eb6eeae..51a4ac003cfd88aa93a93a1fbdb9b47169a268bd 100644 (file)
@@ -11,6 +11,8 @@ debhelper (7.4.12) UNRELEASED; urgency=low
     that do not support -B would see a bogus -u option. Closes: #541773
     (It also ensures that the commands dh prints out can really be run.)
   * qmake: New buildsystem contributed by Kel Modderman. Closes: #566840
+  * Fix typo in call to abs2rel in --builddir sanitize code.
+    Closes: #567737
 
  -- Joey Hess <joeyh@debian.org>  Fri, 01 Jan 2010 13:00:22 -0500