Make.bat: Only warn about python if the lib folder exists
People running `make update` first time, will not have a lib folder yet, and get a warning about python being missing, this sends some of them off onto somewhat of a wild goose chase installing python when this is really not needed since it's included in our libraries. This change, changes the warning to only emit when the lib folder exists, but python is missing in the lib folder and there actually is likely an issue with the lib folder.
This commit is contained in:
parent
de8d302e8b
commit
95df77323f
|
@ -25,7 +25,12 @@ if EXIST %PYTHON% (
|
|||
)
|
||||
|
||||
if NOT EXIST %PYTHON% (
|
||||
echo Warning: Python not found, there is likely an issue with the library folder
|
||||
REM Only emit this warning when the library folder exists but the
|
||||
REM python folder does not. As we don't want to concern people that
|
||||
REM run make update for the first time.
|
||||
if EXIST %BLENDER_DIR%\..\lib\win64_vc15 (
|
||||
echo Warning: Python not found, there is likely an issue with the library folder
|
||||
)
|
||||
set PYTHON=""
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue