blob: c7fd2bbe7395e86eae062adbffcc281824f83f6a (
plain) (
tree)
|
|
#!/bin/sh
# Get and sign the OpenVPN GUI
# load version.nsi definitions
. autodefs/defs.sh
GUI="$OPENVPN_GUI_DIR/$OPENVPN_GUI"
if [ -e "$GUI" ]; then
mkdir -p $GENOUT/bin &>/dev/null
cp $GUI $GENOUT/bin
echo '!define OPENVPN_GUI_DEFINED' >autodefs/guidefs.nsi
if [ -d "$SIGNTOOL" ]; then
TARGET_EXE="$GENOUT/bin/$OPENVPN_GUI" $SIGNTOOL/signexe
fi
else
cat /dev/null >autodefs/guidefs.nsi
fi
|