mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #22870 from twangboy/fix_installer_again
Added ability to send a version with a space in it
This commit is contained in:
commit
c965b0a035
2 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
|
@ -17,7 +17,7 @@ ${StrLoc}
|
|||
${StrStrAdv}
|
||||
|
||||
!ifdef SaltVersion
|
||||
!define PRODUCT_VERSION ${SaltVersion}
|
||||
!define PRODUCT_VERSION "${SaltVersion}"
|
||||
!else
|
||||
!define PRODUCT_VERSION "Undefined Version"
|
||||
!endif
|
||||
|
|
Loading…
Add table
Reference in a new issue