aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2010-10-02 20:55:27 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-12-02 23:41:33 -0600
commiteaf622d7ecc7494e00f367f8f0eab2877cc48e50 (patch)
treed189294a46df805fe2208e2c45b31aff4e693509
parent6b5339aaeecdb1f2d69f0f6e741194fe0e83d267 (diff)
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