From 06fdabbac03db01b0fdf9ef4856bba2b4b32d80d Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 5 Aug 2009 13:52:31 -0400 Subject: perl_build: Fix Build check to honor source directory setting. --- Debian/Debhelper/Buildsystem/perl_build.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Debian/Debhelper/Buildsystem/perl_build.pm') diff --git a/Debian/Debhelper/Buildsystem/perl_build.pm b/Debian/Debhelper/Buildsystem/perl_build.pm index 88bcff58..8974be2e 100644 --- a/Debian/Debhelper/Buildsystem/perl_build.pm +++ b/Debian/Debhelper/Buildsystem/perl_build.pm @@ -61,7 +61,7 @@ sub install { sub clean { my $this=shift; - if (-f "Build") { + if (-e $this->get_sourcepath("Build")) { $this->do_perl("Build", "--allow_mb_mismatch", 1, "distclean", @_); } } -- cgit v1.2.3