File: getpkcs11helper

package info (click to toggle)
openvpn 2.2.1-8%2Bdeb7u3
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 8,960 kB
  • sloc: ansic: 60,297; sh: 5,704; python: 631; makefile: 282; perl: 242; awk: 13
file content (17 lines) | stat: -rw-r--r-- 402 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

# get version.nsi definitions
. autodefs/defs.sh

# Get PKCS11-helper libraries
if [ -d "$PKCS11_HELPER_DIR" ] ; then
    mkdir -p $GENOUT/lib &>/dev/null    
    for f in libpkcs11-helper-1.dll ; do
	cp $PKCS11_HELPER_DIR/usr/local/bin/$f $GENOUT/lib
        if [ -z "$NO_STRIP" ]; then
	    strip $GENOUT/lib/$f
	fi
    done
else
    echo PKCS11-helper DIR $PKCS11_HELPER_DIR NOT FOUND
fi