Fix configuration parsing on windows
This commit is contained in:
parent
c19e423922
commit
e187ce2e9b
4
make.ps1
4
make.ps1
@ -208,9 +208,9 @@ function WaitForInput
|
|||||||
|
|
||||||
function ReadConfigLine($line, $name)
|
function ReadConfigLine($line, $name)
|
||||||
{
|
{
|
||||||
if ($line.StartsWith($name))
|
$prefix = $name + '='
|
||||||
|
if ($line.StartsWith($prefix))
|
||||||
{
|
{
|
||||||
$prefix = $name + '='
|
|
||||||
[Environment]::SetEnvironmentVariable($name, $line.Replace($prefix, '').Replace('"', ''))
|
[Environment]::SetEnvironmentVariable($name, $line.Replace($prefix, '').Replace('"', ''))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user