Use new version variable in windows packaging scripts
authorTim Mayberry <mojofunk@gmail.com>
Thu, 28 Nov 2013 22:30:10 +0000 (08:30 +1000)
committerTim Mayberry <mojofunk@gmail.com>
Sat, 7 Dec 2013 10:48:19 +0000 (20:48 +1000)
tools/windows_packaging/mingw-env.sh

index 45fda2c52c746bcac19074b2b9d3a575b7373f13..983e6d0b9b382091a7f30d0270e515fbd7b5ec75 100755 (executable)
@@ -35,9 +35,9 @@ then
 
        # Figure out the Build Type
        if [ x$DEBUG = xT ]; then
-               PACKAGE_DIR="$APPNAME-${version}-win32-dbg"
+               PACKAGE_DIR="$APPNAME-${release_version}-win32-dbg"
        else
-               PACKAGE_DIR="$APPNAME-${version}-win32"
+               PACKAGE_DIR="$APPNAME-${release_version}-win32"
        fi
 
        if grep -q "BUILD_TESTS = True" $BUILD_CACHE_FILE; then