aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaveen M K <naveen@syrusdark.website>2021-05-29 19:03:11 +0530
committerJussi Pakkanen <jpakkane@gmail.com>2021-05-30 00:49:43 +0300
commit7a6ad2953ab9750569db9de421180c3fb657fb1a (patch)
tree595647f1f2c7ca6bebb26fa888d38a05a9d36a94
parentc6ec13e6bfe5292181370e47b813212eb193a0fb (diff)
downloadmeson-7a6ad2953ab9750569db9de421180c3fb657fb1a.zip
meson-7a6ad2953ab9750569db9de421180c3fb657fb1a.tar.gz
meson-7a6ad2953ab9750569db9de421180c3fb657fb1a.tar.bz2
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.
-rw-r--r--mesonbuild/mdist.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/mdist.py b/mesonbuild/mdist.py
index 22c5b44..397f8cd 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