Fix blocks in ps script (#741)

This commit is contained in:
Roelf-Jilling 2018-11-14 12:13:00 +01:00
parent c4845bb90a
commit ade48d5fdd

View File

@ -43,15 +43,13 @@ install:
$env:PATH="C:\cmake-3.8.0-win32-x86\bin;$env:PATH" $env:PATH="C:\cmake-3.8.0-win32-x86\bin;$env:PATH"
# #
# Until vcpkg has been updated. # Until vcpkg has been updated.
# Note: vcpkg can also be removed from "cache".
if ("$env:USE_TOOLSET=" -match "LLVM" -and if ("$env:USE_TOOLSET=" -match "LLVM" -and
(Get-Content C:\Tools\vcpkg\toolsrc\VERSION.txt).Replace('.','').Trim('"') -lt 20181020 (Get-Content C:\Tools\vcpkg\toolsrc\VERSION.txt).Replace('.','').Trim('"') -lt 20181020
) { ) {
cd C:\Tools\vcpkg cd C:\Tools\vcpkg
git pull git pull
cd %APPVEYOR_BUILD_FOLDER% cd %APPVEYOR_BUILD_FOLDER%
}
else { echo "Vcpkg fix is no longer needed." }
# Note: vcpkg can also be removed from "cache".
} }
before_build: before_build: