summaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-04-16 06:19:44 +0100
committerChris Lamb <chris@chris-lamb.co.uk>2008-04-16 13:50:24 +0100
commit19c72588c8c5eb9736fa37f789ee793401d4a091 (patch)
treeff39ea788ccad0a60c402470b52b86cf7e52167b /hooks
parent76edb7835df05ed8ec4c0e71b38c90ebec08b46e (diff)
downloadvyos-live-build-19c72588c8c5eb9736fa37f789ee793401d4a091.tar.gz
vyos-live-build-19c72588c8c5eb9736fa37f789ee793401d4a091.zip
hooks/minimal: Use "find -print0 | xargs -0" idiom over "find | xargs"
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
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/*