diff --git a/pmb/parse/_apkbuild.py b/pmb/parse/_apkbuild.py index 40140bb6..fe499e5e 100644 --- a/pmb/parse/_apkbuild.py +++ b/pmb/parse/_apkbuild.py @@ -159,6 +159,7 @@ def parse_attribute(attribute, lines, i, path): # Single line if not end_char: + value = value.split("#")[0].rstrip() return (True, value, i) if end_char in value: value = value.split(end_char, 1)[0]