Remove existing package before building.

This commit is contained in:
dolphin6k 2022-05-22 09:01:29 +09:00
parent f0b2367b3d
commit 18850108ec

View file

@ -10,8 +10,10 @@ else
exit exit
fi fi
rm -f tuxpaint-*-${arch}-installer.exe tuxpaint-*-${arch}.zip
echo "Building installer ... " 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 if [ "x$result" != "x" ]; then
installer=`basename $result` installer=`basename $result`
else else