diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:46:23 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:46:23 -0400 |
commit | 2263b02abba0c957a19d50abcc905ce562741f9b (patch) | |
tree | 603c5993a18a805328757c6ff896f49272113b4a | |
parent | 404ed90343f4c6649fe39660f9e8ec1459a4b669 (diff) |
network/vpnc: Fixed for bash4.
-rw-r--r-- | network/vpnc/vpnc.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/network/vpnc/vpnc.SlackBuild b/network/vpnc/vpnc.SlackBuild index 7a9e656350bea..cdb53f96e1744 100644 --- a/network/vpnc/vpnc.SlackBuild +++ b/network/vpnc/vpnc.SlackBuild @@ -72,12 +72,8 @@ sed -i '/^#OPENSSL/s/^#//g' Makefile make CFLAGS="$SLKCFLAGS" DOCDIR=/usr/doc/$PRGNAM-$VERSION make install DESTDIR=$PKG PREFIX=/usr MANDIR=/usr/man DOCDIR=/usr/doc/$PRGNAM-$VERSION -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null - 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 # Let's not clobber config files mv $PKG/etc/vpnc/default.conf $PKG/etc/vpnc/default.conf.new |