asterisk11: fix conffiles define

The configuration file protection for modules does not work when there
is more than one configuration file. Currently conffiles is populated
with a space separated list. But the items need to be separated by
newlines. With spaces, only the first item gets added to conffiles. The
remaining items are dropped and not protected. Fix this by replacing
spaces with newlines.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
This commit is contained in:
Sebastian Kemper 2017-09-10 22:18:30 +02:00
parent 1538a855d4
commit 04d1333d8b

View file

@ -63,7 +63,7 @@ define BuildAsterisk11Module
endef
define Package/asterisk11-$(1)/conffiles
$(5)
$(subst $(space),$(newline),$(foreach c,$(5),$(c)))
endef
define Package/asterisk11-$(1)/description