aboutsummaryrefslogtreecommitdiff
path: root/install-win32/signinstaller
blob: a802360f06a61ccf07866e496dfc05e22b769508 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

# Sign the installer.

c=`pwd`

# load version.nsi definitions
. autodefs/defs.sh

if [ -d "$SIGNTOOL" ]; then
    cd install-win32
    ls *.exe 2>/dev/null || exit 1
    export TARGET_EXE=$(pwd)/$(ls -t *.exe | head -n 1)
    cd $c
    $SIGNTOOL/signexe
fi