summaryrefslogtreecommitdiff
path: root/tests/debugger_tests
diff options
context:
space:
mode:
authorBruce Forstall <brucefo@microsoft.com>2017-11-26 07:13:04 -0800
committerJan Kotas <jkotas@microsoft.com>2017-11-26 07:13:04 -0800
commitb9b174d26a65f155dd447dcb693d51a4ffc19de6 (patch)
treee397d3cfd2d151e02cbf9881faa6a74f4a4c92c0 /tests/debugger_tests
parentd6c7e5ee06629e0dffda62f8ebeac6a5c990dfa8 (diff)
downloadcoreclr-b9b174d26a65f155dd447dcb693d51a4ffc19de6.tar.gz
coreclr-b9b174d26a65f155dd447dcb693d51a4ffc19de6.tar.bz2
coreclr-b9b174d26a65f155dd447dcb693d51a4ffc19de6.zip
Fix Powershell error (#15217)
Diffstat (limited to 'tests/debugger_tests')
-rw-r--r--tests/debugger_tests/ConfigFilesGenerators/GenerateConfig.cmd2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/debugger_tests/ConfigFilesGenerators/GenerateConfig.cmd b/tests/debugger_tests/ConfigFilesGenerators/GenerateConfig.cmd
index 471637b40c..588e3dedf1 100644
--- a/tests/debugger_tests/ConfigFilesGenerators/GenerateConfig.cmd
+++ b/tests/debugger_tests/ConfigFilesGenerators/GenerateConfig.cmd
@@ -33,7 +33,7 @@ if exist %__ConfigFileName% (
)
:: powershell "Get-Content %__TemplateFileName% -replace (""##Insert_Runtime_Root##"", ""%__RuntimeRoot%"") | Output-File %__ConfigFileName% "
-powershell "-NoProfile (Get-Content \"%__TemplateFileName%\")`"^
+powershell -NoProfile "(Get-Content \"%__TemplateFileName%\")`"^
"-replace \"##Insert_Runtime_Root##\", \"%__RuntimeRoot%\" `"^
"|ForEach-Object{$_ -replace \"##Insert_Nuget_Cache_Root##\", \"%__NugetCacheDir%\"} `"^
"|ForEach-Object{$_ -replace \"##Cli_Path##\", \"%__CliPath%\"} `"^