summaryrefslogtreecommitdiff
path: root/dh_clean
diff options
context:
space:
mode:
Diffstat (limited to 'dh_clean')
-rwxr-xr-xdh_clean3
1 files changed, 2 insertions, 1 deletions
diff --git a/dh_clean b/dh_clean
index d4c5943a..9b5885fe 100755
--- a/dh_clean
+++ b/dh_clean
@@ -106,7 +106,8 @@ if (! $dh{D_FLAG}) {
unless excludefile("autom4te.cache");
}
-doit('rm', '-rf', 'debian/tmp') if -x 'debian/tmp' && ! compat(1);
+doit('rm', '-rf', 'debian/tmp') if -x 'debian/tmp' && ! compat(1) &&
+ ! excludefile("debian/tmp");
=head1 SEE ALSO