view packaging/tmp-createpackage.sh @ 396:26651cc0cc47

Remove all certificates if a new list is loaded from file.
author Raimund Renkert <rrenkert@intevation.de>
date Tue, 15 Apr 2014 16:45:37 +0200
parents 9001eaa55549
children 35d6b371ba63
line wrap: on
line source
#!/bin/bash

#NSSDIR is hackish as this will be replaced by static compiling 
# anyway

NSSDIR="/home/andre/ubuntu/src/mxe/usr/i686-w64-mingw32.static/nss-3.12.7/bin/"
MYPATH=$(dirname `readlink -f $0`)

TMPDIR=$(mktemp -d)

EXEFILES=$(find . -name cinst.exe -o -name m13ui.exe -o -name mozilla.exe)

cp $NSSDIR/*.dll $TMPDIR
cp $EXEFILES $TMPDIR

echo $TMPDIR
makensis -Dfiles_dir=$TMPDIR \
    -Dcompany="Intevation GmbH" \
    -Dversion_number=0.0.0.1 \
    -Dsetupname="renameme.exe" \
    -Dproductname="Really please rename me" \
    -Dproductname_short="renameme" $MYPATH/renameme.nsi
rm -r $TMPDIR

http://wald.intevation.org/projects/trustbridge/