From 04d1333d8b3ac2509079064efa7e231759b7ec42 Mon Sep 17 00:00:00 2001 From: Sebastian Kemper Date: Sun, 10 Sep 2017 22:18:30 +0200 Subject: [PATCH] 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 --- net/asterisk-11.x/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/asterisk-11.x/Makefile b/net/asterisk-11.x/Makefile index ffd9ceb..7f38abe 100644 --- a/net/asterisk-11.x/Makefile +++ b/net/asterisk-11.x/Makefile @@ -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 -- 2.30.2