1
0
mirror of https://github.com/TREX-CoE/qmckl.git synced 2025-01-08 20:33:40 +01:00

Fix QMCkl pre-build issue

This commit is contained in:
Evgeny Posenitskiy 2021-12-13 13:24:44 +01:00
parent 69e1f0d78f
commit f664b8cca6
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
#!/bin/bash
export srcdir="."
${PYTHON} ${srcdir}/tools/build_makefile.py
python ${srcdir}/tools/build_makefile.py
autoreconf -i -Wall --no-recursive

View File

@ -250,8 +250,8 @@ def main():
tmp = "EXTRA_DIST += "
r = subprocess.check_output("git ls-tree --name-only -r HEAD".split())
for line in r.splitlines():
if "share/qmckl/test_data/" in line:
tmp += " \\\n " + line
if b"share/qmckl/test_data/" in line:
tmp += " \\\n " + line.decode('utf8')
tmp += "\n"
output += tmp.split("\n")