diff options
Diffstat (limited to 'packaging')
-rwxr-xr-x | packaging/windows/mxe-based-build.sh | 8 |
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 |