summaryrefslogtreecommitdiff
path: root/network/kismet
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:43:55 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:43:55 -0400
commit2d156e5cdeba8b84b99948f853000298443ee3d7 (patch)
treecefbcb30debbc5065427f37a8ed3a071f60b9aec /network/kismet
parentb94a8a616a8e96251b259190413b515a032d4b9f (diff)
downloadslackbuilds-2d156e5cdeba8b84b99948f853000298443ee3d7.tar.gz
network/kismet: Fixed for bash4.
Diffstat (limited to 'network/kismet')
-rw-r--r--network/kismet/kismet.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/kismet/kismet.SlackBuild b/network/kismet/kismet.SlackBuild
index ad2babf0f7..95cf0a2028 100644
--- a/network/kismet/kismet.SlackBuild
+++ b/network/kismet/kismet.SlackBuild
@@ -51,12 +51,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install MANGRP=root 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 {} \;