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.
pull/8319/head
Naveen M K 4 years ago committed by Jussi Pakkanen
parent c6ec13e6bf
commit 7a6ad2953a
  1. 2
      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

Loading…
Cancel
Save