summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:46:08 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:46:08 -0400
commit6f29d959fa201da8e1f0e730eed249c02c81f4f7 (patch)
tree2951c237eaa9861d132850380ac530710d289ee7 /network
parent01ee62c38de45993b99a41f8742c7a71f31d60e0 (diff)
downloadslackbuilds-6f29d959fa201da8e1f0e730eed249c02c81f4f7.tar.gz
network/tunctl: Fixed for bash4.
Diffstat (limited to 'network')
-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