meson: use new 'python' module instead of deprecated 'python3' one
This commit is contained in:
parent
bc8ddef96c
commit
9cbdb7b504
@ -146,5 +146,5 @@ if not get_option('examples').disabled()
|
|||||||
subdir('tests')
|
subdir('tests')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
python3 = import('python3').find_python()
|
python3 = import('python').find_installation()
|
||||||
run_command(python3, '-c', 'import shutil; shutil.copy("hooks/pre-commit.hook", ".git/hooks/pre-commit")')
|
run_command(python3, '-c', 'import shutil; shutil.copy("hooks/pre-commit.hook", ".git/hooks/pre-commit")')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user