From 9fb8a162d82b24f43abe03506dda95b7b112ff6e Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Sat, 2 Oct 2010 22:57:54 +0200 Subject: autotools-template: xargs -0 expects -print0 option from find --- autotools-template.SlackBuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autotools-template.SlackBuild b/autotools-template.SlackBuild index 56d4be1..303fe5b 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 -0 file | grep -e "executable" -e "shared object" | grep ELF \ +find $PKG -print0 | 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