From dc5bddb048e5782b97c0aed5e2797c7092be28ed Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:40:09 -0400 Subject: misc/nvclock: Fixed for bash4. --- misc/nvclock/nvclock.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'misc/nvclock/nvclock.SlackBuild') diff --git a/misc/nvclock/nvclock.SlackBuild b/misc/nvclock/nvclock.SlackBuild index 7b16a20d60e2f..695326b66ccfd 100644 --- a/misc/nvclock/nvclock.SlackBuild +++ b/misc/nvclock/nvclock.SlackBuild @@ -66,12 +66,8 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null -) +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true gzip -9 $PKG/usr/man/man?/* -- cgit v1.2.3