Subject: hooks/minimal: Use "find -print0 | xargs -0" idiom over "find | xargs"

From: Chris Lamb <[email-masked]>
Date: Wed, 16 Apr 2008 06:19:44 +0100

---
 hooks/minimal | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hooks/minimal b/hooks/minimal
index 7121904..ff02ddc 100755
--- a/hooks/minimal
+++ b/hooks/minimal
@@ -21,7 +21,7 @@ done
 apt-get autoremove --yes || true
 
 # Removing unused files
-find . -name *~ | xargs rm -f
+find . -name *~ -print0 | xargs -0 rm -f
 
 rm -rf /var/cache/man/*
 
-- 
cgit v1.0