blob: 1419bc9a6455524944f0a8fa46c865bb1768c827 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/sh
# Get and sign the OpenVPN GUI
c=`pwd`
# load version.nsi definitions
. autodefs/defs.sh
GUI="$OPENVPN_GUI_DIR/$OPENVPN_GUI"
if [ -e "$GUI" ]; then
cp $GUI bin
echo '!define OPENVPN_GUI_DEFINED' >autodefs/guidefs.nsi
if [ -d "$SIGNTOOL" ]; then
export TARGET_EXE="bin/$OPENVPN_GUI"
$SIGNTOOL/signexe
fi
else
cat /dev/null >autodefs/guidefs.nsi
fi
|