Commit 2bbc7c9d authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Fix wrong catching of line starting by 'install' but not being install commands.

parent 21c31268
......@@ -20,7 +20,7 @@ def main(argv=None):
if not os.path.exists(rootdir):
fin = open(log_filename, 'r')
regexp1 = re.compile(r'^((.*?)/bin/)?install ((-c|-m [0-9]+) )*(.*)$')
regexp1 = re.compile(r'^((.*?)/bin/)?install ((-c|-m [0-9]+) )+(.*)$')
regexp2 = re.compile(r'^cp -p (.*)$')
for line in fin:
l = None
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment