aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:46:28 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:46:28 -0400
commit6fee30c91730656b66e45cd4be974275717b3288 (patch)
treeea39e2829af70bc253517d01647f06d6f1b34292
parent1c87164669f91e1c568620b2da3ddc219a1dbbbb (diff)
network/wireshark: Fixed for bash4.
-rw-r--r--network/wireshark/wireshark.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/wireshark/wireshark.SlackBuild b/network/wireshark/wireshark.SlackBuild
index 9d91add97983d..28997d2297534 100644
--- a/network/wireshark/wireshark.SlackBuild
+++ b/network/wireshark/wireshark.SlackBuild
@@ -87,12 +87,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 {} \;