summaryrefslogtreecommitdiff
path: root/dh_clean
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2013-08-15 20:14:44 +0200
committerJoey Hess <joey@kitenet.net>2013-08-15 20:21:26 +0200
commit71d06996481c6187b016c3b14b7e9faaf8adc432 (patch)
treecbdb8882f31a7348e2b039c2bb3ca3aae171ca76 /dh_clean
parentfeb76f76e099df14be6ca5c33baf91d0a4f307a9 (diff)
dh_install, dh_installdocs, dh_clean: Fix uses of find -exec which cause it to ignore exit status of the commands run.
Diffstat (limited to 'dh_clean')
-rwxr-xr-xdh_clean4
1 files changed, 2 insertions, 2 deletions
diff --git a/dh_clean b/dh_clean
index a90d51c..931dd21 100755
--- a/dh_clean
+++ b/dh_clean
@@ -128,8 +128,8 @@ if (! $dh{D_FLAG}) {
-o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \\
-o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \\
-o -name TAGS -o \\( -path '*/.deps/*' -a -name '*.P' \\) \\
- \\) -exec rm -f {} \\; \\) -o \\
- \\( -type d -a -name autom4te.cache -prune -exec rm -rf {} \\; \\) \\)");
+ \\) -exec rm -f {} + \\) -o \\
+ \\( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \\) \\)");
}
doit('rm', '-rf', 'debian/tmp') if -x 'debian/tmp' && ! compat(1) &&