summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:43:17 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:43:17 -0400
commit12505226ad8d46be144705bdd1dfdfa480620c3f (patch)
treeed710dbae6b6bc61125857aa10b2fc88b3f93aad
parente3b460d6ab6cadc1da69cdaf4e231caa3c356119 (diff)
downloadslackbuilds-12505226ad8d46be144705bdd1dfdfa480620c3f.tar.gz
network/freetalk: Fixed for bash4.
-rw-r--r--network/freetalk/freetalk.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/freetalk/freetalk.SlackBuild b/network/freetalk/freetalk.SlackBuild
index d3701f0fa9..e799dc84b2 100644
--- a/network/freetalk/freetalk.SlackBuild
+++ b/network/freetalk/freetalk.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
-)
+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 {} \;