build: fix windows installer build for NSIS v3.05 (#22821)

With the update to a newer AppVeyor build image, creating the Windows
installer no longer worked because of a string quoting error in EnvVarUpdate.nsh.

This applies the fix recommended in https://stackoverflow.com/questions/62081765.
This commit is contained in:
Felix Lange 2021-05-05 12:19:51 +02:00 committed by GitHub
parent 3a2b29c1ed
commit 41671d449f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,7 +43,7 @@
!ifndef Un${StrFuncName}_INCLUDED !ifndef Un${StrFuncName}_INCLUDED
${Un${StrFuncName}} ${Un${StrFuncName}}
!endif !endif
!define un.${StrFuncName} "${Un${StrFuncName}}" !define un.${StrFuncName} '${Un${StrFuncName}}'
!macroend !macroend
!insertmacro _IncludeStrFunction StrTok !insertmacro _IncludeStrFunction StrTok