aboutsummaryrefslogblamecommitdiff
path: root/install-win32/getgui
blob: aa83e8535c603d62032c8b191db21f33d162db41 (plain) (tree)
1
2
3
4
5
6
7
8
9



                              




                                   
                      

                                        

  
                                          
                                                            


                                       
#!/bin/sh

# Get and sign the OpenVPN GUI

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

GUI="$OPENVPN_GUI_DIR/$OPENVPN_GUI"

if [ -f "$GUI" ]; then
    mkdir -p $GENOUT/bin &>/dev/null    
    cp $GUI $GENOUT/bin
fi

if [ -f "$GENOUT/bin/$OPENVPN_GUI" ]; then
    echo '!define OPENVPN_GUI_DEFINED' >autodefs/guidefs.nsi
else
    cat /dev/null >autodefs/guidefs.nsi
fi