From 7a7b50cc8bfccd0d151ab4f2eefb5fde757f5919 Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Sat, 2 Oct 2010 20:55:44 +0200 Subject: perl-template: fix stripping files with single quotes in filename --- perl-template.SlackBuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3