diff --git a/appveyor.yml b/appveyor.yml index 4dad5245ed..1ce5ccc578 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -33,7 +33,7 @@ install: git submodule update --init before_build: - ps: | - $env:PATH = $env:PATH -replace "C:\\Program Files \(x86\)\\Git\\bin","" + $env:PATH = $env:PATH -replace "C:\\Program Files\\Git\\usr\\bin","" if (($env:compiler -ne "msys2") -and ($env:compiler -ne "cygwin")) { gc include\wx\msw\setup0.h | %{$_ -replace "define wxUSE_STL 0", "define wxUSE_STL $env:wxUSE_STL"} | diff --git a/build/tools/appveyor.bat b/build/tools/appveyor.bat index 373ef3ead9..43135dc7d7 100644 --- a/build/tools/appveyor.bat +++ b/build/tools/appveyor.bat @@ -20,10 +20,9 @@ goto :eof cd build\msw path C:\MinGW\bin;%path% echo --- Tools versions: -g++ --version | head -1 -mingw32-make --version | head -1 -ar --version | head -1 -path C:\MinGW\bin; +g++ --version | "C:\Program Files\Git\usr\bin\head" -n 1 +mingw32-make --version | "C:\Program Files\Git\usr\bin\head" -n 1 +ar --version | "C:\Program Files\Git\usr\bin\head" -n 1 echo. echo --- Starting the build echo.