From eaf622d7ecc7494e00f367f8f0eab2877cc48e50 Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Sat, 2 Oct 2010 20:55:27 +0200 Subject: cmake-template: fix stripping files with single quotes in filename --- cmake-template.SlackBuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake-template.SlackBuild b/cmake-template.SlackBuild index c9e7914..6887dc9 100644 --- a/cmake-template.SlackBuild +++ b/cmake-template.SlackBuild @@ -100,7 +100,7 @@ cd .. # Strip binaries and libraries - this can be done with 'make install-strip' # in many source trees, and that's usually acceptable, 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 -- cgit v1.2.3