Module: kamailio
Branch: master
Commit: ecb32d326615242fed43a6e2655627848842afd2
URL:
https://github.com/kamailio/kamailio/commit/ecb32d326615242fed43a6e26556278…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-01-17T13:31:35+01:00
tls: fixed installation path update for tls.cfg
---
Modified: modules/tls/Makefile
---
Diff:
https://github.com/kamailio/kamailio/commit/ecb32d326615242fed43a6e26556278…
Patch:
https://github.com/kamailio/kamailio/commit/ecb32d326615242fed43a6e26556278…
---
diff --git a/modules/tls/Makefile b/modules/tls/Makefile
index da6a303..167863d 100644
--- a/modules/tls/Makefile
+++ b/modules/tls/Makefile
@@ -43,8 +43,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 \