summaryrefslogtreecommitdiffstats
path: root/cmake-template.SlackBuild
diff options
context:
space:
mode:
author Heinz Wiesinger <pprkut@slackbuilds.org>2010-10-02 22:58:28 +0200
committer Heinz Wiesinger <pprkut@slackbuilds.org>2010-10-02 22:58:28 +0200
commit6f450f5b9da1d981774ae029e43a6f1c1aefe248 (patch)
tree7036818cd9cccd94ffe31606fe4fabfc47274e3f /cmake-template.SlackBuild
parent9fb8a162d82b24f43abe03506dda95b7b112ff6e (diff)
downloadtemplates-6f450f5b9da1d981774ae029e43a6f1c1aefe248.tar.gz
templates-6f450f5b9da1d981774ae029e43a6f1c1aefe248.tar.xz
cmake-template: xargs -0 expects -print0 option from find
Diffstat (limited to 'cmake-template.SlackBuild')
-rw-r--r--cmake-template.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake-template.SlackBuild b/cmake-template.SlackBuild
index 6887dc9..dd0c26e 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 -0 file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | 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