From 602f5e8347d41b376ae849d450189af0f610c436 Mon Sep 17 00:00:00 2001 From: dolphin6k Date: Sun, 22 May 2022 09:00:33 +0900 Subject: [PATCH] Remove existing package before building. --- win32/compile.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/win32/compile.sh b/win32/compile.sh index 36866e0f9..5cc63e4c9 100644 --- a/win32/compile.sh +++ b/win32/compile.sh @@ -10,8 +10,10 @@ else exit fi +rm -f tuxpaint-*-${arch}-installer.exe tuxpaint-*-${arch}.zip + echo "Building installer ... " -result=`/C/Program\ Files\ \(x86\)/Inno\ Setup\ 6/ISCC -DBuildTarget=${arch} tuxpaint.iss | grep installer.exe` +result=`/C/Program\ Files\ \(x86\)/Inno\ Setup\ 6/ISCC -DBuildTarget=${arch} tuxpaint.iss | grep ${arch}-installer.exe` if [ "x$result" != "x" ]; then installer=`basename $result` else