summaryrefslogtreecommitdiff
path: root/tools/windows_packaging/mingw-env.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/windows_packaging/mingw-env.sh')
-rwxr-xr-xtools/windows_packaging/mingw-env.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/windows_packaging/mingw-env.sh b/tools/windows_packaging/mingw-env.sh
index 1895cd4040..45fda2c52c 100755
--- a/tools/windows_packaging/mingw-env.sh
+++ b/tools/windows_packaging/mingw-env.sh
@@ -34,8 +34,7 @@ then
. ../define_versions.sh
# Figure out the Build Type
- if grep -q "DEBUG = True" $BUILD_CACHE_FILE; then
- DEBUG=1
+ if [ x$DEBUG = xT ]; then
PACKAGE_DIR="$APPNAME-${version}-win32-dbg"
else
PACKAGE_DIR="$APPNAME-${version}-win32"