aboutsummaryrefslogtreecommitdiff
path: root/network/scli/scli.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:45:46 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:45:46 -0400
commit256c67354ddeb09452e465bf7e1853434f01402a (patch)
tree23e84de1a9c27ea6083c8d52ed82426cffa35990 /network/scli/scli.SlackBuild
parentdbe16284e93fdf5fc842ea605719ef30fa9dc2d0 (diff)
network/scli: Fixed for bash4.
Diffstat (limited to 'network/scli/scli.SlackBuild')
-rw-r--r--network/scli/scli.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/scli/scli.SlackBuild b/network/scli/scli.SlackBuild
index e9d12fd84bf45..6259276e472dd 100644
--- a/network/scli/scli.SlackBuild
+++ b/network/scli/scli.SlackBuild
@@ -57,12 +57,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 {} \;