summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/windows/mxe-based-build.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/packaging/windows/mxe-based-build.sh b/packaging/windows/mxe-based-build.sh
index a6d6a1930..2c10d4474 100755
--- a/packaging/windows/mxe-based-build.sh
+++ b/packaging/windows/mxe-based-build.sh
@@ -113,9 +113,17 @@ if [[ "$1" == "debug" ]] ; then
RELEASE="Debug"
DLL_SUFFIX="d"
shift
+ if [[ -f Release ]] ; then
+ rm -rf *
+ fi
+ touch Debug
else
RELEASE="Release"
DLL_SUFFIX=""
+ if [[ -f Debug ]] ; then
+ rm -rf *
+ fi
+ touch Release
fi
# grantlee