summaryrefslogtreecommitdiff
path: root/academic/WordNet/WordNet.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:30:21 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:30:21 -0400
commitc1bc1b7675a65ac3a2021f365cf90c30d2a374a5 (patch)
tree69157884c1459b0637009f6d8282d3c27faf1328 /academic/WordNet/WordNet.SlackBuild
parent6cbce669528c99f3c5bbc65ecb37379fb616ea42 (diff)
downloadslackbuilds-c1bc1b7675a65ac3a2021f365cf90c30d2a374a5.tar.gz
academic/WordNet: Fixed for bash4.
Diffstat (limited to 'academic/WordNet/WordNet.SlackBuild')
-rw-r--r--academic/WordNet/WordNet.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/academic/WordNet/WordNet.SlackBuild b/academic/WordNet/WordNet.SlackBuild
index 69c6b74bcb..61e1872ede 100644
--- a/academic/WordNet/WordNet.SlackBuild
+++ b/academic/WordNet/WordNet.SlackBuild
@@ -62,12 +62,8 @@ cat $CWD/profile.d/WordNet.sh > $PKG/etc/profile.d/WordNet.sh
cat $CWD/profile.d/WordNet.csh > $PKG/etc/profile.d/WordNet.csh
chmod 0755 $PKG/etc/profile.d/*
-( 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 {} \;