diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:40:09 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:40:09 -0400 |
commit | dc5bddb048e5782b97c0aed5e2797c7092be28ed (patch) | |
tree | 54087c71fb9332c7a51fe33d4832c2fa91f89963 | |
parent | 9f2011162c2ea5d918f3c5e57f70de49016394aa (diff) | |
download | slackbuilds-dc5bddb048e5782b97c0aed5e2797c7092be28ed.tar.gz |
misc/nvclock: Fixed for bash4.
-rw-r--r-- | misc/nvclock/nvclock.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/misc/nvclock/nvclock.SlackBuild b/misc/nvclock/nvclock.SlackBuild index 7b16a20d60..695326b66c 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?/* |