From: Sebastian Kemper Date: Sun, 10 Sep 2017 20:18:30 +0000 (+0200) Subject: asterisk11: fix conffiles define X-Git-Url: http://git.openwrt.org/?p=feed%2Ftelephony.git;a=commitdiff_plain;h=04d1333d8b3ac2509079064efa7e231759b7ec42 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 --- 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