forked from bartvdbraak/blender
Python: check version binary name first
Check version name first since 'python' binary may be a different version.
This commit is contained in:
parent
43bf78c946
commit
0a5fdb6354
@ -600,7 +600,7 @@ bool BKE_appdir_program_python_search(
|
||||
const char *basename = "python";
|
||||
char python_ver[16];
|
||||
/* check both possible names */
|
||||
const char *python_names[] = {basename, python_ver};
|
||||
const char *python_names[] = {python_ver, basename};
|
||||
int i;
|
||||
|
||||
bool is_found = false;
|
||||
|
Loading…
Reference in New Issue
Block a user