summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:46:08 -0400
committer David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:46:08 -0400
commit6f29d959fa201da8e1f0e730eed249c02c81f4f7 (patch)
tree2951c237eaa9861d132850380ac530710d289ee7
parent01ee62c38de45993b99a41f8742c7a71f31d60e0 (diff)
downloadslackbuilds-6f29d959fa201da8e1f0e730eed249c02c81f4f7.tar.gz
slackbuilds-6f29d959fa201da8e1f0e730eed249c02c81f4f7.tar.xz
network/tunctl: Fixed for bash4.
-rw-r--r--network/tunctl/tunctl.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/tunctl/tunctl.SlackBuild b/network/tunctl/tunctl.SlackBuild
index 4d5be15bd5..911e259356 100644
--- a/network/tunctl/tunctl.SlackBuild
+++ b/network/tunctl/tunctl.SlackBuild
@@ -44,12 +44,8 @@ find . \
make CFLAGS="$SLKCFLAGS"
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
# Fix up the manpages
mv $PKG/usr/share/man $PKG/usr/man ; rmdir $PKG/usr/share