From c6ccbd3a1c4dee2086f44314cc91c54ce9c177d8 Mon Sep 17 00:00:00 2001 From: daid303 Date: Mon, 1 Oct 2012 11:51:26 +0200 Subject: [PATCH] Need to define the version before running the script. --- package.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.sh b/package.sh index 369de45..0351ccf 100755 --- a/package.sh +++ b/package.sh @@ -192,7 +192,7 @@ if (( ${ARCHIVE_FOR_DISTRIBUTION} )); then if [ -f '/c/Program Files (x86)/NSIS/makensis.exe' ]; then rm -rf scripts/win32/dist mv `pwd`/${TARGET_DIR} scripts/win32/dist - '/c/Program Files (x86)/NSIS/makensis.exe' 'scripts/win32/installer.nsi' -DVERSION=${BUILD_NAME} + '/c/Program Files (x86)/NSIS/makensis.exe' -DVERSION=${BUILD_NAME} 'scripts/win32/installer.nsi' fi else echo "Archiving to ${TARGET_DIR}.tar.gz"