diff options
author | Daniel Baumann <daniel@debian.org> | 2013-01-01 08:43:49 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2013-01-01 08:43:49 +0100 |
commit | 5473c18214362a26eac77bc45805e066fa4177a7 (patch) | |
tree | a870bc644f26ef85ac1ea6a381404d6bdf00dca5 | |
parent | c68a776effc300d09d9cb8bc830a643a62c703a7 (diff) | |
download | vyos-live-build-5473c18214362a26eac77bc45805e066fa4177a7.tar.gz vyos-live-build-5473c18214362a26eac77bc45805e066fa4177a7.zip |
Updating removal of backup files in stripped example hook to also work with spaces in filenames.
-rwxr-xr-x | examples/hooks/stripped.chroot | 2 |
1 files changed, 1 insertions, 1 deletions
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/* |