libreoffice: generate-*-srcs.py Remove export prefix

Needed for both fresh and still variants upcoming updates, in order to
parse the download.lst file correctly.
This commit is contained in:
Doron Behar 2023-03-15 14:39:26 +02:00
parent a5aeb5016d
commit 8218e8b457

View file

@ -201,7 +201,7 @@ def parse_line(line):
if re.match('\s*(#.*)?$', line):
return 'nothing'
match = re.match('\s*export\s+([^:\s]+)\s*:=\s*(.*)$', line)
match = re.match('([^:\s]+)\s*:=\s*(.*)$', line)
if match:
return {