summaryrefslogtreecommitdiffstats
path: root/install-win32/copyinstaller
blob: f5279cafbbb455adcfefe0e92e2546fcfdccb5fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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