Skip to content

Commit

Permalink
Fix Python detection in PATH. It was saying it is even if it wasn't. …
Browse files Browse the repository at this point in the history
…The curse of being the second in a broken check
  • Loading branch information
pal1000 committed Apr 19, 2017
1 parent 8b23caf commit 3bf355e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions buildscript/build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
@set vsenv=%vsenv14%
@if %toolset%==15 set vsenv=%vsenv15%
@where /q cmake.exe
@IF %ERRORLEVEL% NEQ 0 set PATH=%mesa%cmake\bin\;%PATH%
@IF ERRORLEVEL 1 set PATH=%mesa%cmake\bin\;%PATH%
@set ERRORLEVEL=0
@where /q python.exe
@IF %ERRORLEVEL% NEQ 0 set PATH=%mesa%Python\;%mesa%Python\Scripts\;%PATH%
@IF ERRORLEVEL 1 set PATH=%mesa%Python\;%mesa%Python\Scripts\;%PATH%
@set ERRORLEVEL=0
set PATH=%mesa%flexbison\;%PATH%
@set PATH=%mesa%flexbison\;%PATH%

:build_llvm
@set /p buildllvm=Begin LLVM build. Only needs to run once for each ABI and version. Proceed (y/n):
Expand Down

0 comments on commit 3bf355e

Please sign in to comment.