From 894676b7e10f68a72dc25efcddcc573828db8e47 Mon Sep 17 00:00:00 2001 From: Bryan Thornbury Date: Tue, 1 Dec 2015 17:11:30 -0800 Subject: [PATCH] Max 2 length substring, fix publishing for MSI --- scripts/test/e2e-test.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/test/e2e-test.ps1 b/scripts/test/e2e-test.ps1 index 2b73e99e6..f742ead07 100644 --- a/scripts/test/e2e-test.ps1 +++ b/scripts/test/e2e-test.ps1 @@ -25,7 +25,7 @@ pushd "$env:VS140COMNTOOLS\..\..\VC" cmd /c "vcvarsall.bat x64&set" | foreach { if ($_ -match "=") { - $v = $_.split("="); set-item -force -literalpath "ENV:\$($v[0])" -value "$($v[1])" + $v = $_.split("=", 2); set-item -force -literalpath "ENV:\$($v[0])" -value "$($v[1])" } } popd