aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2010-10-02 20:55:44 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-12-02 23:41:33 -0600
commitb433fdd1c293ed98a7492477f645f6886305ec55 (patch)
tree53da9b7763f996a2c2adb3acb65e6f68c8578db6
parenteaf622d7ecc7494e00f367f8f0eab2877cc48e50 (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