aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/scripts/gettext.py
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2016-10-12 19:44:40 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2016-10-12 20:25:03 +0530
commit69ca8f5b544f700210d9f18613311bcce3c2e37a (patch)
tree2ba1c807884ffaca1cbd0ce5e08e40bf5beca95f /mesonbuild/scripts/gettext.py
parenta513bcfde613f2a0403f7b0cd34d4bd62674c1d8 (diff)
downloadmeson-69ca8f5b544f700210d9f18613311bcce3c2e37a.zip
meson-69ca8f5b544f700210d9f18613311bcce3c2e37a.tar.gz
meson-69ca8f5b544f700210d9f18613311bcce3c2e37a.tar.bz2
meson.py: Always resolve full path to meson.py
There is no reason to not always do this. Without this, we end up with a relative path to meson.py in build.ninja files when meson.py is launched using subprocess.Popen and friends from the meson source root. This was causing the unittests to intermittently fail when regen was getting invoked by the pic test. Funnily enough, this only happened when run via ./run_tests.py because __file__ was 'run_unittests.py' in that (as opposed to './run_unittests.py') case which made os.path.dirname(__file__) be '', and the os.path.split test in meson.py thought that meson.py was invoked via PATH.
Diffstat (limited to 'mesonbuild/scripts/gettext.py')
0 files changed, 0 insertions, 0 deletions