summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Heinz Wiesinger <pprkut@slackbuilds.org>2010-10-02 20:55:14 +0200
committer Heinz Wiesinger <pprkut@slackbuilds.org>2010-10-02 20:55:14 +0200
commitfdf86730489add1c7c5672473f71ae73f866e064 (patch)
tree6809ffd492f5ece1707b8ba1e2de4d772bc82343
parent56c6ab0d512fab7f5f1355aa77a6ed544659c355 (diff)
downloadtemplates-fdf86730489add1c7c5672473f71ae73f866e064.tar.gz
templates-fdf86730489add1c7c5672473f71ae73f866e064.tar.xz
autotools-template: fix stripping files with single quotes in filename
-rw-r--r--autotools-template.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/autotools-template.SlackBuild b/autotools-template.SlackBuild
index afa10ad..56d4be1 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 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