summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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