summaryrefslogtreecommitdiffstats
path: root/academic/gtkwave
diff options
context:
space:
mode:
author David Somero2010-05-19 08:30:32 +0200
committer David Somero2010-05-19 08:30:32 +0200
commitf1bb3092bae6a12934bc8eaa586ee98afef8b91b (patch)
tree023930727b7de202760d062d1a70589cff17ad98 /academic/gtkwave
parent85aa9b2b3b510553f72759a633699dfbfb1a8fd6 (diff)
downloadslackbuilds-f1bb3092bae6a12934bc8eaa586ee98afef8b91b.tar.gz
academic/gtkwave: Fixed for bash4.
Diffstat (limited to 'academic/gtkwave')
-rw-r--r--academic/gtkwave/gtkwave.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/academic/gtkwave/gtkwave.SlackBuild b/academic/gtkwave/gtkwave.SlackBuild
index 108eb5c7c6..0407f812d8 100644
--- a/academic/gtkwave/gtkwave.SlackBuild
+++ b/academic/gtkwave/gtkwave.SlackBuild
@@ -54,12 +54,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 || true
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null || true
-)
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;