summaryrefslogtreecommitdiff
path: root/tools/windows_packaging
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2013-08-16 19:50:19 +1000
committerTim Mayberry <mojofunk@gmail.com>2013-12-07 20:48:19 +1000
commit02dd48b3865d047416d6b25aaa3be1ebb8c8a513 (patch)
treef61b49a7f698b398399db22b392dbba4a8c9dd41 /tools/windows_packaging
parent2970b791411e3c83e617cfc0774d2581bd0e44db (diff)
Use DEBUG flag as defined by tools/define_versions.sh in mingw build
Diffstat (limited to 'tools/windows_packaging')
-rwxr-xr-xtools/windows_packaging/mingw-env.sh3
-rwxr-xr-xtools/windows_packaging/package.sh2
2 files changed, 2 insertions, 3 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"
diff --git a/tools/windows_packaging/package.sh b/tools/windows_packaging/package.sh
index dfe586c457..b1b22e074c 100755
--- a/tools/windows_packaging/package.sh
+++ b/tools/windows_packaging/package.sh
@@ -144,7 +144,7 @@ libs/timecode
libs/audiographer
'
-if test x$DEBUG != x ; then
+if [ x$DEBUG = xT ]; then
PACKAGE_SRC_DIR=$PACKAGE_DIR/src
echo "Copying source files to $PACKAGE_SRC_DIR ..."