aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2010-10-02 22:58:28 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-12-02 23:42:29 -0600
commita97117d747135ae4f5cd7445868975e5b2591f7d (patch)
tree7036818cd9cccd94ffe31606fe4fabfc47274e3f
parent410dbe5885e948dda5f060f2675d547503472b47 (diff)
downloadtemplates-a97117d747135ae4f5cd7445868975e5b2591f7d.tar.xz
cmake-template: xargs -0 expects -print0 option from find
-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