Use DEBUG flag as defined by tools/define_versions.sh in mingw build

This commit is contained in:
Tim Mayberry
2013-08-16 19:50:19 +10:00
parent 2970b79141
commit 02dd48b386
2 changed files with 2 additions and 3 deletions

View File

@@ -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"

View File

@@ -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 ..."