From 3ea2e2358ded1a7aa9a7eb1f6a69d3951f68d3fb Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 30 Jan 2010 20:22:58 -0500 Subject: [PATCH] Fix typo in call to abs2rel in --builddir sanitize code. Closes: #567737 --- Debian/Debhelper/Buildsystem.pm | 2 +- debian/changelog | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Debian/Debhelper/Buildsystem.pm b/Debian/Debhelper/Buildsystem.pm index f729c0d..88aefab 100644 --- a/Debian/Debhelper/Buildsystem.pm +++ b/Debian/Debhelper/Buildsystem.pm @@ -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 diff --git a/debian/changelog b/debian/changelog index 7858a5d..51a4ac0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Fri, 01 Jan 2010 13:00:22 -0500 -- 2.39.2