Module: kamailio
Branch: 4.1
Commit: d145b7d02fae95ed0522c4681ad2a40410373ab0
URL:
https://github.com/kamailio/kamailio/commit/d145b7d02fae95ed0522c4681ad2a40…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-01-17T13:36:28+01:00
tls: fixed installation path update for tls.cfg
(cherry picked from commit ecb32d326615242fed43a6e2655627848842afd2)
(cherry picked from commit 0c1dc464e2b4e7a47e8a54ab087799bdcadb69ea)
---
Modified: modules/tls/Makefile
---
Diff:
https://github.com/kamailio/kamailio/commit/d145b7d02fae95ed0522c4681ad2a40…
Patch:
https://github.com/kamailio/kamailio/commit/d145b7d02fae95ed0522c4681ad2a40…
---
diff --git a/modules/tls/Makefile b/modules/tls/Makefile
index ed218d6..f9d4c39 100644
--- a/modules/tls/Makefile
+++ b/modules/tls/Makefile
@@ -44,8 +44,8 @@ install-tls-cert: $(cfg_prefix)/$(cfg_dir)
install-cfg: install-tls-cert
@$(call try_err, $(INSTALL_TOUCH) \
"$(cfg_prefix)/$(cfg_dir)tls.cfg.sample" )
- @sed -e "s#\./modules/tls/#$(cfg_target)#g" \
- -e "s#ser-selfsigned#$(MAIN_NAME)-selfsigned#g" \
+ @sed -e "s#\/usr/local/etc/kamailio/#$(cfg_target)#g" \
+ -e "s#kamailio-selfsigned#$(MAIN_NAME)-selfsigned#g" \
< ./tls.cfg > "$(cfg_prefix)/$(cfg_dir)tls.cfg.sample"
@if [ -z "${skip_cfg_install}" -a \
! -f "$(cfg_prefix)/$(cfg_dir)tls.cfg" ]; then \