From 7a6ad2953ab9750569db9de421180c3fb657fb1a Mon Sep 17 00:00:00 2001 From: Naveen M K Date: Sat, 29 May 2021 19:03:11 +0530 Subject: [PATCH] Don't use `os.path.relpath` in dist command This is problematic when we meson is installed in the different root(say C:) while building from another root(say D:). This is how it is done in mesonpep517 and causes problems because of that. --- mesonbuild/mdist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/mdist.py b/mesonbuild/mdist.py index 22c5b4492..397f8cdb3 100644 --- a/mesonbuild/mdist.py +++ b/mesonbuild/mdist.py @@ -313,5 +313,5 @@ def run(options): if rc == 0: for name in names: create_hash(name) - print('Created', os.path.relpath(name)) + print('Created', name) return rc