diff options
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 |
commit | 6f29d959fa201da8e1f0e730eed249c02c81f4f7 (patch) | |
tree | 2951c237eaa9861d132850380ac530710d289ee7 /network | |
parent | 01ee62c38de45993b99a41f8742c7a71f31d60e0 (diff) |
network/tunctl: Fixed for bash4.
Diffstat (limited to 'network')
-rw-r--r-- | network/tunctl/tunctl.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/network/tunctl/tunctl.SlackBuild b/network/tunctl/tunctl.SlackBuild index 4d5be15bd5337..911e25935639a 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 |