From e187ce2e9bb9bb26657aa93481856106c94e8aee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-R=C3=A9my=20Buchs?= Date: Tue, 29 Aug 2017 19:44:13 +0200 Subject: [PATCH] Fix configuration parsing on windows --- make.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/make.ps1 b/make.ps1 index b0ab316..8603761 100644 --- a/make.ps1 +++ b/make.ps1 @@ -208,9 +208,9 @@ function WaitForInput function ReadConfigLine($line, $name) { - if ($line.StartsWith($name)) + $prefix = $name + '=' + if ($line.StartsWith($prefix)) { - $prefix = $name + '=' [Environment]::SetEnvironmentVariable($name, $line.Replace($prefix, '').Replace('"', '')) } }