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_compress | |
parent | 4110f3dd853ec65df5bdef871b7bb313ba599709 (diff) |
dh_compress, dh_perl: Avoid failing if the package build directory does not exist.
Diffstat (limited to 'dh_compress')
-rwxr-xr-x | dh_compress | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dh_compress b/dh_compress index 85cf2c89..ec07f85d 100755 --- a/dh_compress +++ b/dh_compress @@ -77,10 +77,12 @@ init(); foreach my $package (@{$dh{DOPACKAGES}}) { my $tmp=tmpdir($package); + my $compress=pkgfile($package,"compress"); # Run the file name gathering commands from within the directory # structure that will be effected. + next unless -d $tmp; my $olddir=getcwd(); verbose_print("cd $tmp"); chdir($tmp) || error("Can't cd to $tmp: $!"); |