summaryrefslogtreecommitdiff
path: root/dh_clean
diff options
context:
space:
mode:
authorjoey <joey>1999-08-17 05:02:18 +0000
committerjoey <joey>1999-08-17 05:02:18 +0000
commit74bbde37b5769254f730525c22fb8a71d547a23d (patch)
tree7491a824cfa5cd92eff141828c9eacdb854e4e10 /dh_clean
parent2b197c28c63bdd7a316fdc3938be2e411c69fa33 (diff)
downloaddebhelper-74bbde37b5769254f730525c22fb8a71d547a23d.tar.gz
r130: Initial Import
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 544c09a0..821a54dc 100755
--- a/dh_clean
+++ b/dh_clean
@@ -30,8 +30,9 @@ if (! $dh{K_FLAG}) {
# Remove other temp files.
# (The \s+ is important, \s won't work because find would get null parameters).
+# Note that you _don't_ quote wildcards used by find in here.
doit(split(/\s+/,"find . ( -name #*# -o -name *~ -o -name DEADJOE
-o -name *.orig -o -name *.rej -o -name *.bak
-o -name .*.orig -o -name .*.rej -o -name .SUMS
- -o -name TAGS -o -name core
+ -o -name TAGS -o -name core -o ( -path */.deps/* -a -name *.P )
) -exec rm -f {} ;"));