summaryrefslogtreecommitdiff
path: root/network/vpnc/vpnc.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:46:23 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:46:23 -0400
commit2263b02abba0c957a19d50abcc905ce562741f9b (patch)
tree603c5993a18a805328757c6ff896f49272113b4a /network/vpnc/vpnc.SlackBuild
parent404ed90343f4c6649fe39660f9e8ec1459a4b669 (diff)
downloadslackbuilds-2263b02abba0c957a19d50abcc905ce562741f9b.tar.gz
network/vpnc: Fixed for bash4.
Diffstat (limited to 'network/vpnc/vpnc.SlackBuild')
-rw-r--r--network/vpnc/vpnc.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/vpnc/vpnc.SlackBuild b/network/vpnc/vpnc.SlackBuild
index 7a9e656350..cdb53f96e1 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