Max 2 length substring, fix publishing for MSI
This commit is contained in:
parent
69e52e8505
commit
894676b7e1
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ pushd "$env:VS140COMNTOOLS\..\..\VC"
|
||||||
cmd /c "vcvarsall.bat x64&set" |
|
cmd /c "vcvarsall.bat x64&set" |
|
||||||
foreach {
|
foreach {
|
||||||
if ($_ -match "=") {
|
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
|
popd
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue