BUILD_CACHE_FILE=$BUILD_DIR/c4che/_cache.py
TOOLS_DIR=$BASE/tools/windows_packaging
+. ../define_versions.sh
+
APPNAME=`grep -m 1 '^APPNAME' $BASE/wscript | awk '{print $3}' | sed "s/'//g"`
-VERSION=`grep -m 1 '^VERSION' $BASE/wscript | awk '{print $3}' | sed "s/'//g"`
# These are only relevant after a build
if test -f $BUILD_CACHE_FILE
# Figure out the Build Type
if grep -q "DEBUG = True" $BUILD_CACHE_FILE; then
DEBUG=1
- PACKAGE_DIR="$APPNAME-$VERSION-win32-dbg"
+ PACKAGE_DIR="$APPNAME-${version}-win32-dbg"
else
- PACKAGE_DIR="$APPNAME-$VERSION-win32"
+ PACKAGE_DIR="$APPNAME-${version}-win32"
fi
if grep -q "BUILD_TESTS = True" $BUILD_CACHE_FILE; then