mdist: Print file path at the end of run() instead of in create_hash().

pull/8125/head
Aman Verma 4 years ago committed by Eli Schwartz
parent 1f7c8ec7e2
commit cb10ba75d4
  1. 2
      mesonbuild/mdist.py

@ -51,7 +51,6 @@ def create_hash(fname):
# A space and an asterisk because that is the format defined by GNU coreutils
# and accepted by busybox and the Perl shasum tool.
f.write('{} *{}\n'.format(m.hexdigest(), os.path.basename(fname)))
print(os.path.relpath(fname), m.hexdigest())
def del_gitfiles(dirname):
@ -284,4 +283,5 @@ def run(options):
if rc == 0:
for name in names:
create_hash(name)
print('Created', os.path.relpath(name))
return rc

Loading…
Cancel
Save