aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2010-10-02 20:55:44 +0200
committerHeinz Wiesinger <pprkut@slackbuilds.org>2010-10-02 20:55:44 +0200
commit7a7b50cc8bfccd0d151ab4f2eefb5fde757f5919 (patch)
tree53da9b7763f996a2c2adb3acb65e6f68c8578db6
parent4056dffea47f8d892fb3e6eb2f2bf2750c95ebab (diff)
perl-template: fix stripping files with single quotes in filename
-rw-r--r--perl-template.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-template.SlackBuild b/perl-template.SlackBuild
index 38685b0..0c6356e 100644
--- a/perl-template.SlackBuild
+++ b/perl-template.SlackBuild
@@ -109,7 +109,7 @@ perl Build.PL \
# Strip binaries and libraries -
# If this is not needed,remove it from the script.
-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