diff options
author | Daniel Baumann <daniel@debian.org> | 2013-01-01 08:43:59 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2013-01-01 08:43:59 +0100 |
commit | b570e7f8e68aa7d55873e337c20d606900a51348 (patch) | |
tree | a98bd4dff1ca43845aa77a0a1fb85deb1f5ef913 | |
parent | a203b86fdd9a40deb48333b1f5595862565bdf9a (diff) | |
download | vyos-live-build-b570e7f8e68aa7d55873e337c20d606900a51348.tar.gz vyos-live-build-b570e7f8e68aa7d55873e337c20d606900a51348.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/* |