Added ability to send a version with a space in it

This commit is contained in:
salt_build 2015-04-20 21:55:57 +00:00
parent 2973eb18bc
commit 3f180cfaae
2 changed files with 2 additions and 2 deletions

View file

@ -69,7 +69,7 @@ If Exist "%BinDir%\README.txt" del /q "%BinDir%\README.txt"
@ echo Building the installer...
@ echo -------------------------
makensis.exe /DSaltVersion="%Version%" "%InsDir%\Salt-Minion-Setup.nsi"
makensis.exe /DSaltVersion=%Version% "%InsDir%\Salt-Minion-Setup.nsi"
@ echo.
@ echo.

View file

@ -17,7 +17,7 @@ ${StrLoc}
${StrStrAdv}
!ifdef SaltVersion
!define PRODUCT_VERSION ${SaltVersion}
!define PRODUCT_VERSION "${SaltVersion}"
!else
!define PRODUCT_VERSION "Undefined Version"
!endif