aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2010-10-02 22:57:54 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-12-02 23:42:29 -0600
commit410dbe5885e948dda5f060f2675d547503472b47 (patch)
treee27901d8916c1670c5c63d92d9f1f0b0b63a55d9
parent66e95ecef48662a6b4fd0c456ea9acacefdfc3f9 (diff)
autotools-template: xargs -0 expects -print0 option from find
-rw-r--r--autotools-template.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/autotools-template.SlackBuild b/autotools-template.SlackBuild
index 56d4be1..303fe5b 100644
--- a/autotools-template.SlackBuild
+++ b/autotools-template.SlackBuild
@@ -108,7 +108,7 @@ make install DESTDIR=$PKG
# Strip binaries and libraries - this can be done with 'make install-strip'
# in many source trees, and that's usually acceptable if so, but 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