Updating removal of backup files in stripped example hook to also work with spaces...
authorDaniel Baumann <daniel@debian.org>
Tue, 1 Jan 2013 07:43:59 +0000 (08:43 +0100)
committerDaniel Baumann <daniel@debian.org>
Tue, 1 Jan 2013 07:43:59 +0000 (08:43 +0100)
examples/hooks/stripped.chroot

index 7af719e..9ebe5bc 100755 (executable)
@@ -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/*