Commit 44df9f21 authored by Jehan's avatar Jehan

meson: use explicitly python3 when calling it.

Anyway meson is based itself on python3 so it has to be present. Just
using `python` may be any python (2 included).

Of course, it would be ok most of the time, but with the Fedora 31 CI,
apparently just `python` is not found.
parent cd54a8fe
......@@ -16,7 +16,7 @@ conf = configuration_data()
warnings = []
# git-version.h is already present and not generated if dist tarball
is_git_repository = run_command('python', '-c',
is_git_repository = run_command('python3', '-c',
'import sys,os; sys.exit(0 if os.path.exists(".git") else 1)'
).returncode() == 0
......@@ -1431,7 +1431,7 @@ endif
##### #### # # # # #### # # ###### ###### ####
has_version_h = run_command('python', '-c',
has_version_h = run_command('python3', '-c',
'import sys,os; sys.exit(0 if os.path.exists("git-version.h") else 1)'
).returncode() == 0
if is_git_repository or not has_version_h
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment