diff options
author | Joey Hess <joey@kitenet.net> | 2013-05-09 10:13:46 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-05-09 10:13:46 -0400 |
commit | d934f613e9b584840e351f0a0e00e433cd7b466a (patch) | |
tree | 94a0762b0aac94db232b77eeda336be427c5fbdc /dh_perl | |
parent | 4110f3dd853ec65df5bdef871b7bb313ba599709 (diff) |
dh_compress, dh_perl: Avoid failing if the package build directory does not exist.
Diffstat (limited to 'dh_perl')
-rwxr-xr-x | dh_perl | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -90,6 +90,8 @@ use constant XS_MODULE => 4; foreach my $package (@{$dh{DOPACKAGES}}) { my $tmp=tmpdir($package); + next unless -d $tmp; + # Check also for alternate locations given on the command line my @dirs = grep -d, map "$tmp/$_", $vendorlib, $vendorarch, @ARGV; |