summaryrefslogtreecommitdiff
path: root/Debian
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-08-05 13:52:31 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-08-05 13:52:31 -0400
commit06fdabbac03db01b0fdf9ef4856bba2b4b32d80d (patch)
tree7984c1b1ffb91d9af711d2904aa37ba01fe8e7c4 /Debian
parent299975a38e3c7fb38b216adf21b0f9f46bccbf83 (diff)
perl_build: Fix Build check to honor source directory setting.
Diffstat (limited to 'Debian')
-rw-r--r--Debian/Debhelper/Buildsystem/perl_build.pm2
1 files changed, 1 insertions, 1 deletions
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", @_);
}
}