mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-04 20:29:09 +01:00
network/vpnc: Fixed for bash4.
This commit is contained in:
parent
404ed90343
commit
2263b02abb
1 changed files with 2 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue