From 3ea2e2358ded1a7aa9a7eb1f6a69d3951f68d3fb Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 30 Jan 2010 20:22:58 -0500 Subject: Fix typo in call to abs2rel in --builddir sanitize code. Closes: #567737 --- Debian/Debhelper/Buildsystem.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Debian/Debhelper/Buildsystem.pm') diff --git a/Debian/Debhelper/Buildsystem.pm b/Debian/Debhelper/Buildsystem.pm index f729c0da..88aefab3 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 -- cgit v1.2.3