Use full paths for invoking stuff from Python27\Scripts

Change-Id: I52094cc4b27b9e3a6fe3dd12c504777b8bb7bc75
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
Konstantin Tokarev
2016-11-18 19:25:12 +03:00
parent a561a58bb6
commit aafc3f8644

View File

@@ -1,6 +1,8 @@
. "$PSScriptRoot\helpers.ps1"
& pip install --upgrade conan==0.15.0
$scriptsPath = "C:\Python27\Scripts"
& "$scriptsPath\pip.exe" install --upgrade conan==0.15.0
[Environment]::SetEnvironmentVariable("CI_CONAN_BUILDINFO_DIR", "C:\Utils\conanbuildinfos", "Machine")
@@ -37,7 +39,7 @@ function Run-Conan-Install
New-Item $outpwd -Type directory -Force
$process = Start-Process-Logged `
conan `
"$scriptsPath\conan.exe" `
-WorkingDirectory $outpwd `
-ArgumentList "install -f $($_.FullName) --verify $($manifestsDir)", `
'-s', ('compiler="' + $Compiler + '"'), `