summaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-04-16 06:19:44 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:32 +0100
commit5ea22591ab3aee75c5aa6241aa94a5c5d36c4281 (patch)
treeff39ea788ccad0a60c402470b52b86cf7e52167b /hooks
parent001bb75189ba6b4640d740d4f8383386d893f098 (diff)
downloadvyos-live-build-5ea22591ab3aee75c5aa6241aa94a5c5d36c4281.tar.gz
vyos-live-build-5ea22591ab3aee75c5aa6241aa94a5c5d36c4281.zip
hooks/minimal: Use "find -print0 | xargs -0" idiom over "find | xargs"
Diffstat (limited to 'hooks')
-rwxr-xr-xhooks/minimal2
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/minimal b/hooks/minimal
index 7121904db..ff02ddc37 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/*