diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2007-03-07 07:08:49 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2007-03-07 07:08:49 +0000 |
commit | 0039dd40464ea8544022abb32e220224ab71d6e5 (patch) | |
tree | d58e23208cccfbd533be63864442bc86352d34d3 /install-win32/signinstaller | |
parent | Forgot to svn add buildinstaller before last commit. (diff) | |
download | openvpn-0039dd40464ea8544022abb32e220224ab71d6e5.tar.xz |
Cleaned up Windows build scripts.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1763 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'install-win32/signinstaller')
-rw-r--r-- | install-win32/signinstaller | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/install-win32/signinstaller b/install-win32/signinstaller index fba1db8..01dccd3 100644 --- a/install-win32/signinstaller +++ b/install-win32/signinstaller @@ -1,16 +1,22 @@ #!/bin/sh # Sign the installer - -SIGN=../sign +# SIGNCODE should point to directory with signcode.exe and keys c=`pwd` -cd install-win32 -ls openvpn*.exe 2>/dev/null || exit 1 -exe=`pwd`/`ls -t openvpn*.exe | head -n 1` -cd $c -cd $SIGN -TS="http://timestamp.verisign.com/scripts/timstamp.dll" -echo '******************' SIGN OpenVPN INSTALLER -./signcode -spc mycredentials.spc -v myprivatekey.pvk -a sha1 -n "OpenVPN Installer" -t $TS `perl $c/install-win32/dosname.pl $exe` +# load version.nsi definitions +. autodefs/nsidefs.sh + +if [ -n "$SIGNCODE" ] ; then + + cd install-win32 + ls openvpn*.exe 2>/dev/null || exit 1 + exe=`pwd`/`ls -t openvpn*.exe | head -n 1` + cd $c + cd "$SIGNCODE" + + TS="http://timestamp.verisign.com/scripts/timstamp.dll" + echo '******************' SIGNCODE OpenVPN INSTALLER + ./signcode -spc mycredentials.spc -v myprivatekey.pvk -a sha1 -n "OpenVPN Installer" -t $TS `perl $c/install-win32/dosname.pl $exe` +fi |