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:
parent
69e1f0d78f
commit
f664b8cca6
@ -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
|
||||
|
@ -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")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user