summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Heinz Wiesinger <pprkut@slackbuilds.org>2010-10-02 20:55:27 +0200
committer Heinz Wiesinger <pprkut@slackbuilds.org>2010-10-02 20:55:27 +0200
commit4056dffea47f8d892fb3e6eb2f2bf2750c95ebab (patch)
treed189294a46df805fe2208e2c45b31aff4e693509
parentfdf86730489add1c7c5672473f71ae73f866e064 (diff)
downloadtemplates-4056dffea47f8d892fb3e6eb2f2bf2750c95ebab.tar.gz
templates-4056dffea47f8d892fb3e6eb2f2bf2750c95ebab.tar.xz
cmake-template: fix stripping files with single quotes in filename
-rw-r--r--cmake-template.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake-template.SlackBuild b/cmake-template.SlackBuild
index c9e7914..6887dc9 100644
--- a/cmake-template.SlackBuild
+++ b/cmake-template.SlackBuild
@@ -100,7 +100,7 @@ cd ..
# Strip binaries and libraries - this can be done with 'make install-strip'
# in many source trees, and that's usually acceptable, if not, use this:
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# Compress man pages