diff options
author | Mathieu Duponchelle <mathieu@centricular.com> | 2018-03-06 22:49:03 +0100 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-03-07 19:56:24 +0200 |
commit | 9f7bdedc94944d11a5166eb47f199c592cb74c0d (patch) | |
tree | b0842a19e5c32087dda942031dcf1f2848b41119 /mesonbuild/backend/xcodebackend.py | |
parent | e98ae58d0e40a15ae670d456e0c27057b4b2185b (diff) | |
download | meson-9f7bdedc94944d11a5166eb47f199c592cb74c0d.zip meson-9f7bdedc94944d11a5166eb47f199c592cb74c0d.tar.gz meson-9f7bdedc94944d11a5166eb47f199c592cb74c0d.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 'mesonbuild/backend/xcodebackend.py')
0 files changed, 0 insertions, 0 deletions