From bb44e108a3a53b22eb2b64f82e944852bea63c41 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 16 Feb 2013 15:53:53 -0800 Subject: [PATCH] Force recreation of the Windows .nsi file when cross building This way we make sure that the version number for the installer is correct. Signed-off-by: Dirk Hohndel --- packaging/windows/mingw-make.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packaging/windows/mingw-make.sh b/packaging/windows/mingw-make.sh index 7416d1d59..6201d41a4 100755 --- a/packaging/windows/mingw-make.sh +++ b/packaging/windows/mingw-make.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # # just a small shell script that is used to invoke make with the right # parameters to cross compile a binary for Windows @@ -6,6 +6,10 @@ # the paths work for the default mingw32 install on OpenSUSE - adjust as # necessary +# force recreation of the nsi file in order to get the correct version +# number +rm packaging/windows/subsurface.nsi + export PATH=/usr/i686-w64-mingw32/sys-root/mingw/bin:$PATH make CC=i686-w64-mingw32-gcc \ PKGCONFIG=i686-w64-mingw32-pkg-config \