aboutsummaryrefslogtreecommitdiff
path: root/misc/nvclock/nvclock.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:40:09 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:40:09 -0400
commitdc5bddb048e5782b97c0aed5e2797c7092be28ed (patch)
tree54087c71fb9332c7a51fe33d4832c2fa91f89963 /misc/nvclock/nvclock.SlackBuild
parent9f2011162c2ea5d918f3c5e57f70de49016394aa (diff)
misc/nvclock: Fixed for bash4.
Diffstat (limited to 'misc/nvclock/nvclock.SlackBuild')
-rw-r--r--misc/nvclock/nvclock.SlackBuild8
1 files changed, 2 insertions, 6 deletions
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?/*