diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2013-08-16 19:50:19 +1000 |
---|---|---|
committer | Tim Mayberry <mojofunk@gmail.com> | 2013-12-07 20:48:19 +1000 |
commit | 02dd48b3865d047416d6b25aaa3be1ebb8c8a513 (patch) | |
tree | f61b49a7f698b398399db22b392dbba4a8c9dd41 /tools | |
parent | 2970b791411e3c83e617cfc0774d2581bd0e44db (diff) |
Use DEBUG flag as defined by tools/define_versions.sh in mingw build
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/windows_packaging/mingw-env.sh | 3 | ||||
-rwxr-xr-x | tools/windows_packaging/package.sh | 2 |
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 ..." |