From 5473c18214362a26eac77bc45805e066fa4177a7 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 1 Jan 2013 08:43:49 +0100 Subject: Updating removal of backup files in stripped example hook to also work with spaces in filenames. --- examples/hooks/stripped.chroot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/hooks/stripped.chroot b/examples/hooks/stripped.chroot index 7af719e77..9ebe5bc12 100755 --- a/examples/hooks/stripped.chroot +++ b/examples/hooks/stripped.chroot @@ -31,7 +31,7 @@ done apt-get autoremove --yes || true # Removing unused files -find . -name *~ | xargs rm -f +find . -name *~ -print0 | xargs -0 rm -f rm -rf /usr/include/* #rm -rf /usr/share/groff/* -- cgit v1.2.3