mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-12-21 11:03:29 +01:00
Fix bug when a blank space precedes program
This commit is contained in:
parent
e8d8f73475
commit
148add1a73
@ -538,7 +538,7 @@ def get_binaries(path_module):
|
||||
import subprocess
|
||||
|
||||
try:
|
||||
cmd = 'grep -l -e "^program " {0}/*.irp.f'.format(path_module.abs)
|
||||
cmd = 'grep -l -e "^\\s*program " {0}/*.irp.f'.format(path_module.abs)
|
||||
process = subprocess.Popen([cmd],
|
||||
shell=True,
|
||||
stdout=subprocess.PIPE,
|
||||
|
Loading…
Reference in New Issue
Block a user