From 1568d7f42886fe3f5f8ea79110791cdd8e0786df Mon Sep 17 00:00:00 2001 From: james Date: Sun, 22 Apr 2007 08:21:16 +0000 Subject: Version is now specified in version.m4 for both unix and windows versions. Reworked the Windows build scripting system, with settings (other than version #) specified in settings.in. Moved the native scripting grammar as defined by trans.pl away from NSIS and to something more generic. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1867 e7ae566f-a301-0410-adde-c780ea21d3b5 --- install-win32/copyinstaller | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'install-win32/copyinstaller') diff --git a/install-win32/copyinstaller b/install-win32/copyinstaller index 96c213d..feecd13 100644 --- a/install-win32/copyinstaller +++ b/install-win32/copyinstaller @@ -1,11 +1,15 @@ #!/bin/sh -# copy the installer +# copy the installer to the $INSTALLER_DEST directory. # load version.nsi definitions -. autodefs/nsidefs.sh +. autodefs/defs.sh -cd install-win32 -ls openvpn*.exe 2>/dev/null || exit 1 -exe=`ls -t openvpn*.exe | head -n 1` -cp $exe .. +if [ -n "$INSTALLER_DEST" ] ; then + cd install-win32 + ls openvpn*.exe 2>/dev/null || exit 1 + exe=install-win32/`ls -t openvpn*.exe | head -n 1` + cd .. + echo cp $exe "$INSTALLER_DEST" + cp $exe "$INSTALLER_DEST" +fi -- cgit v1.2.3