diff options
author | Mathieu Duponchelle <mathieu@centricular.com> | 2018-03-06 22:49:03 +0100 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2018-03-21 19:01:07 +0530 |
commit | bcde8a57753056c356d0de8db21a61d4c52b7137 (patch) | |
tree | e8407a3ff3376113e65d96d140543023d37bb98d /docs/markdown/Python-3-module.md | |
parent | daaae647d7f949fd44290c52c7e70098540726d8 (diff) | |
download | meson-bcde8a57753056c356d0de8db21a61d4c52b7137.zip meson-bcde8a57753056c356d0de8db21a61d4c52b7137.tar.gz meson-bcde8a57753056c356d0de8db21a61d4c52b7137.tar.bz2 |
mesonlib: fix meson detection (again)
Starting from 8fc424418720da4ef61bde9348f4cc1a149d1cb2, tests
failed on my system (python 3.6 arch) because
shutil.which('meson.py') returns 'meson.py', not './meson.py'.
Refactor that codepath by using os.path.isabs instead of
"m_dir == '.'", also remove the adjacent comment because
it doesn't make much sense.
Diffstat (limited to 'docs/markdown/Python-3-module.md')
0 files changed, 0 insertions, 0 deletions