diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2008-02-01 19:44:53 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2008-02-01 19:44:53 +0000 |
commit | ba865c55a61b4dd3bcf3e2c6bb2632e38d07cd2a (patch) | |
tree | ed84e82bd50f62fc8b431036d4aa2d0eff66abbe /install-win32/getgui | |
parent | Changes to Windows build system to make it easier to do (diff) | |
download | openvpn-ba865c55a61b4dd3bcf3e2c6bb2632e38d07cd2a.tar.xz |
Changes to Windows build system: added GENOUT_PREBUILT mode
to allow building an OpenVPN installer with a reduced set
of prerequisites. See comments in domake-win for more info.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@2711 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'install-win32/getgui')
-rw-r--r-- | install-win32/getgui | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/install-win32/getgui b/install-win32/getgui index c7fd2bb..03f68a8 100644 --- a/install-win32/getgui +++ b/install-win32/getgui @@ -10,10 +10,13 @@ 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 +fi + +if [ -e "$GENOUT/bin/$OPENVPN_GUI" ]; then + echo '!define OPENVPN_GUI_DEFINED' >autodefs/guidefs.nsi else cat /dev/null >autodefs/guidefs.nsi fi |