aboutsummaryrefslogtreecommitdiff
path: root/install-win32/copyinstaller
diff options
context:
space:
mode:
Diffstat (limited to 'install-win32/copyinstaller')
-rw-r--r--install-win32/copyinstaller13
1 files changed, 13 insertions, 0 deletions
diff --git a/install-win32/copyinstaller b/install-win32/copyinstaller
new file mode 100644
index 0000000..f5279ca
--- /dev/null
+++ b/install-win32/copyinstaller
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+# copy the installer
+
+# load version.nsi definitions
+. autodefs/nsidefs.sh
+
+if [ -n "$INSTALLER_DEST" ] ; then
+ cd install-win32
+ ls openvpn*.exe 2>/dev/null || exit 1
+ exe=`ls -t openvpn*.exe | head -n 1`
+ cp $exe $INSTALLER_DEST
+fi