diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:30:21 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:30:21 -0400 |
commit | c1bc1b7675a65ac3a2021f365cf90c30d2a374a5 (patch) | |
tree | 69157884c1459b0637009f6d8282d3c27faf1328 /academic | |
parent | 6cbce669528c99f3c5bbc65ecb37379fb616ea42 (diff) |
academic/WordNet: Fixed for bash4.
Diffstat (limited to 'academic')
-rw-r--r-- | academic/WordNet/WordNet.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/academic/WordNet/WordNet.SlackBuild b/academic/WordNet/WordNet.SlackBuild index 69c6b74bcbd2..61e1872edeba 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 {} \; |