forked from lijiext/lammps
Fix bug introduced into Make.py by latest changes
This commit is contained in:
parent
2fb666dc69
commit
62bf307d3c
|
@ -809,7 +809,7 @@ class Packages(object):
|
|||
|
||||
original = {}
|
||||
tmp = "cd %s; make ps" % dir.src
|
||||
output = subprocess.check_output(tmp,stderr=subprocess.STDOUT,shell=True).decode()
|
||||
output = subprocess.check_output(tmp,stderr=subprocess.STDOUT,shell=True).decode().split('\n')
|
||||
pattern = "Installed\s+(\w+): package (\S+)"
|
||||
for line in output:
|
||||
m = re.search(pattern,line)
|
||||
|
|
Loading…
Reference in New Issue