Module: kamailio
Branch: 4.2
Commit: 0c1dc464e2b4e7a47e8a54ab087799bdcadb69ea
URL:
https://github.com/kamailio/kamailio/commit/0c1dc464e2b4e7a47e8a54ab087799b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-01-17T13:33:30+01:00
tls: fixed installation path update for tls.cfg
(cherry picked from commit ecb32d326615242fed43a6e2655627848842afd2)
---
Modified: modules/tls/Makefile
---
Diff:
https://github.com/kamailio/kamailio/commit/0c1dc464e2b4e7a47e8a54ab087799b…
Patch:
https://github.com/kamailio/kamailio/commit/0c1dc464e2b4e7a47e8a54ab087799b…
---
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 \