yml srclibs: support multiline Prepare

This commit is contained in:
Michael Pöhn 2020-02-29 13:42:12 +01:00
parent 58776da694
commit 1ac7d612b1
2 changed files with 39 additions and 0 deletions

View file

@ -779,6 +779,8 @@ def parse_yml_srclib(metadatapath):
else:
if key == 'Subdir':
thisinfo[key] = str(data[key] or '').split(',')
elif key == 'Prepare' and isinstance(data[key], list):
thisinfo[key] = ' && '.join(data[key])
else:
thisinfo[key] = str(data[key] or '')