diff options
-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 ..." |