summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Kemper2017-09-10 20:18:30 +0000
committerSebastian Kemper2017-09-10 20:18:32 +0000
commit04d1333d8b3ac2509079064efa7e231759b7ec42 (patch)
treec2c77db081be35f09cf61fccd4c84de176b61652
parent1538a855d445c1e10a9e0119ac2c9abf6505bc71 (diff)
downloadtelephony-04d1333d8b3ac2509079064efa7e231759b7ec42.tar.gz
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>
-rw-r--r--net/asterisk-11.x/Makefile2
1 files changed, 1 insertions, 1 deletions
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