Prevent the literal "$(_AdditionalBuildParameters)" to be passed to the build script
This commit is contained in:
parent
ee9799118e
commit
a346e17c76
1 changed files with 2 additions and 3 deletions
|
@ -23,9 +23,8 @@ if /I "%SYSTEM_TEAMPROJECT%" == "Public" (
|
|||
ECHO ##vso[task.setvariable variable=SignType]real
|
||||
)
|
||||
|
||||
if "%AdditionalBuildParameters%" == "" (
|
||||
REM Make sure the variable is set as empty in Azure pipelines, instead of not being set at all
|
||||
REM (which would cause the literal "$(AdditionalBuildParameters)" to be passed to the script)
|
||||
if "%AdditionalBuildParameters%" == "$(_AdditionalBuildParameters)" (
|
||||
REM Prevent the literal "$(_AdditionalBuildParameters)" to be passed to the build script
|
||||
ECHO Setting AdditionalBuildParameters to empty
|
||||
ECHO ##vso[task.setvariable variable=AdditionalBuildParameters]
|
||||
) ELSE (
|
||||
|
|
Loading…
Add table
Reference in a new issue