From 6f29d959fa201da8e1f0e730eed249c02c81f4f7 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:46:08 -0400 Subject: network/tunctl: Fixed for bash4. --- network/tunctl/tunctl.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'network') 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 -- cgit v1.2.3