Skip to content

Commit

Permalink
tls: fixed installation path update for tls.cfg
Browse files Browse the repository at this point in the history
(cherry picked from commit ecb32d3)
  • Loading branch information
miconda committed Jan 17, 2015
1 parent 32e85b6 commit 0c1dc46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/tls/Makefile
Expand Up @@ -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 \
Expand Down

0 comments on commit 0c1dc46

Please sign in to comment.