summaryrefslogtreecommitdiff
path: root/network/tunctl
diff options
context:
space:
mode:
Diffstat (limited to 'network/tunctl')
-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