summaryrefslogtreecommitdiffstats
path: root/makensis-wrapper.sh
blob: 78c16ae8b04d225d825c0576094b2d50798c37d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
if [ -z $NSISDIR ]; then
    NSISDIR=$(dirname $0)
    NSISDIR=$(readlink -f $NSISDIR)
fi
NSISC=$NSISDIR/$(uname -p)-makensis
if ! [ -x $NSISC ]; then
    echo "ERROR:"
    echo " Nsis script compiler '$NSISC' not found."
    exit 1
fi
export NSISDIR
$NSISC $@