[gh-192] Fixed path escaping in Build-All.

This commit is contained in:
Andrey Shchekin 2017-09-25 23:49:47 +13:00
Родитель f0a77c9387
Коммит c26f3e049c
1 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -190,12 +190,12 @@ try {
Write-Output "Resolving and copying assemblies..."
$resolverLogPath = "$branchArtifactsRoot\AssemblyResolver.log"
$resolverCommand = "&""$assemblyResolver""" +
" --source-bin ""$sourceRoot\Server.Azure\bin\Release"" " +
" --roslyn-bin ""$branchBinariesPath""" +
" --target ""$(Ensure-ResolvedPath $siteRoot\bin)""" +
" --target-app-config ""$siteRoot\Web.config""" +
" >> ""$resolverLogPath"""
$resolverCommand = "&'$assemblyResolver'" +
" --source-bin '$sourceRoot\Server.Azure\bin\Release' " +
" --roslyn-bin '$branchBinariesPath'" +
" --target '$(Ensure-ResolvedPath $siteRoot\bin)'" +
" --target-app-config '$siteRoot\Web.config'" +
" >> '$resolverLogPath'"
$resolverCommand | Out-File $resolverLogPath -Encoding 'Unicode'
Invoke-Expression $resolverCommand
if ($LastExitCode -ne 0) {