chiark / gitweb /
Need to define the version before running the script.
authordaid303 <daid303@gmail.com>
Mon, 1 Oct 2012 09:51:26 +0000 (11:51 +0200)
committerdaid303 <daid303@gmail.com>
Mon, 1 Oct 2012 09:51:26 +0000 (11:51 +0200)
package.sh

index 369de4508833ddd57a11202c53f59780d266cae3..0351ccfe155cb64bb251dec5a93649a08fa74f6e 100755 (executable)
@@ -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"