summaryrefslogtreecommitdiff
path: root/dh_clean
diff options
context:
space:
mode:
authorjoey <joey>1999-08-17 04:39:02 +0000
committerjoey <joey>1999-08-17 04:39:02 +0000
commitb8f36e7620a7a8d6e47b5032ba1dbf0310fb894a (patch)
tree762f74f7aa895a6e1d7b943ae15c4dca97d089d2 /dh_clean
parent8d1bbcb775d700523862844bc41cfb8ef6a8672a (diff)
downloaddebhelper-b8f36e7620a7a8d6e47b5032ba1dbf0310fb894a.tar.gz
r34: 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 8e92fc8d..b170494b 100755
--- a/dh_clean
+++ b/dh_clean
@@ -15,7 +15,8 @@ done
doit "rm -f debian/files* debian/*.debhelper $*"
# Remove other temp files.
-doit "find . \( -name '#*#' -o -name '*~' -o -name DEADJOE -o -name '*.orig' \
+# Use complex_doit so we can properly escape things.
+complex_doit "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 \
\) -exec rm -f {} \;"