Commit 61b1832a authored by Anton Midyukov's avatar Anton Midyukov

image.in/functions.mk: add multiple lists support in X-Alterator-PackageList

This will allow to add multiple lists to the X-Alterator-PackageList through the character ";". See also: https://bugzilla.altlinux.org/43186
parent 9456dbd3
......@@ -31,7 +31,8 @@ groups2lists = $(shell $(groups2lists_body))
define groups2lists_body
{ if [ -n "$(THE_GROUPS)$(MAIN_GROUPS)" ]; then \
sed -rn 's,^X-Alterator-PackageList=(.*)$$,\1,p' \
$(call map,group,$(THE_GROUPS) $(MAIN_GROUPS)); \
$(call map,group,$(THE_GROUPS) $(MAIN_GROUPS)) | \
sed 's/;/\n/g'; \
fi; }
endef
......
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