Make sure the engine VERSION file has been closed before continuing.
This commit is contained in:
parent
bffbcdacbf
commit
d56c152409
4
make.ps1
4
make.ps1
@ -308,7 +308,9 @@ if ($command -eq "all" -or $command -eq "clean")
|
|||||||
$currentEngine = ""
|
$currentEngine = ""
|
||||||
if (Test-Path $versionFile)
|
if (Test-Path $versionFile)
|
||||||
{
|
{
|
||||||
$currentEngine = [System.IO.File]::OpenText($versionFile).ReadLine()
|
$reader = [System.IO.File]::OpenText($versionFile)
|
||||||
|
$currentEngine = $reader.ReadLine()
|
||||||
|
$reader.Close()
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($currentEngine -ne "" -and $currentEngine -eq $env:ENGINE_VERSION)
|
if ($currentEngine -ne "" -and $currentEngine -eq $env:ENGINE_VERSION)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user