forked from microsoft/GSL
Workaround: fix, remove "PATH=" from text
This commit is contained in:
@@ -62,7 +62,7 @@ before_build:
|
||||
if ((Get-Content C:\Tools\vcpkg\toolsrc\VERSION.txt).Replace('.','').Trim('"') -lt 20181020) {
|
||||
echo "Fallback to MSVC linker."
|
||||
cmd /c '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" %PLATFORM% && PATH > path.txt'
|
||||
$env:PATH = Get-Content .\path.txt
|
||||
$env:PATH = (Get-Content .\path.txt).Remove(0,5) # "PATH="
|
||||
$LINKER = "link"
|
||||
} else { echo "==> vcpkg has been updated, please remove the workaround from appvayor.yml." }
|
||||
# /Workaround
|
||||
|
Reference in New Issue
Block a user