summaryrefslogtreecommitdiff
path: root/dh_clean
diff options
context:
space:
mode:
authorjoey <joey>2003-07-04 02:07:45 +0000
committerjoey <joey>2003-07-04 02:07:45 +0000
commit22c796dbc9758902b6a95f1a7ed5a2a4c9e869d9 (patch)
tree7b557823f31cbad4d13fe9c9663a85de965608a2 /dh_clean
parentb6faf9b91d6c9ee40a648697db808cb2ce4b40cf (diff)
r593: * dh_clean: make -X work for debian/substvars file.
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 b0936ecb..a3d8c7be 100755
--- a/dh_clean
+++ b/dh_clean
@@ -86,7 +86,8 @@ if (! $dh{D_FLAG}) {
# Remove some files that were left around by older versions of
# debhelper.
- doit("rm","-f","debian/substvars");
+ doit("rm","-f","debian/substvars")
+ unless excludefile("debian/substvars");
# See if some files that would normally be deleted are excluded.
my $find_options='';