summaryrefslogtreecommitdiff
path: root/academic/gtypist/gtypist.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:30:32 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:30:32 -0400
commit26f75bb7ac1fdc5ef9c24bcd60f6bbd9a9b2a831 (patch)
tree4245b705da1a7f6a0ac5e4df108a5285fabb340b /academic/gtypist/gtypist.SlackBuild
parentf1bb3092bae6a12934bc8eaa586ee98afef8b91b (diff)
downloadslackbuilds-26f75bb7ac1fdc5ef9c24bcd60f6bbd9a9b2a831.tar.gz
academic/gtypist: Fixed for bash4.
Diffstat (limited to 'academic/gtypist/gtypist.SlackBuild')
-rw-r--r--academic/gtypist/gtypist.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/academic/gtypist/gtypist.SlackBuild b/academic/gtypist/gtypist.SlackBuild
index 2c9c57e823..1333c5767a 100644
--- a/academic/gtypist/gtypist.SlackBuild
+++ b/academic/gtypist/gtypist.SlackBuild
@@ -55,12 +55,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
-)
+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 {} \;