From 8218e8b45716c86790ea4aabf3545e4bef7a82b2 Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Wed, 15 Mar 2023 14:39:26 +0200 Subject: [PATCH] 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. --- .../office/libreoffice/generate-libreoffice-srcs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/office/libreoffice/generate-libreoffice-srcs.py b/pkgs/applications/office/libreoffice/generate-libreoffice-srcs.py index c4d15927f380..3126d0b48251 100755 --- a/pkgs/applications/office/libreoffice/generate-libreoffice-srcs.py +++ b/pkgs/applications/office/libreoffice/generate-libreoffice-srcs.py @@ -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 {