[sr-dev] git:master:b61994af: auth_radius: fixed sample dictionary file install
Daniel-Constantin Mierla
miconda at gmail.com
Tue Nov 7 13:35:46 CET 2017
Module: kamailio
Branch: master
Commit: b61994af4c3765e18fa1b200289d65f64530f815
URL: https://github.com/kamailio/kamailio/commit/b61994af4c3765e18fa1b200289d65f64530f815
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2017-11-07T13:15:46+01:00
auth_radius: fixed sample dictionary file install
- avoid overwriting previous versions of the dictionary
---
Modified: src/modules/auth_radius/Makefile
---
Diff: https://github.com/kamailio/kamailio/commit/b61994af4c3765e18fa1b200289d65f64530f815.diff
Patch: https://github.com/kamailio/kamailio/commit/b61994af4c3765e18fa1b200289d65f64530f815.patch
---
diff --git a/src/modules/auth_radius/Makefile b/src/modules/auth_radius/Makefile
index 0e616eede1..983fe62c2c 100644
--- a/src/modules/auth_radius/Makefile
+++ b/src/modules/auth_radius/Makefile
@@ -21,8 +21,8 @@ install-cfg:
@$(call try_err, $(INSTALL_TOUCH) \
"$(cfg_prefix)/$(cfg_dir)dictionary.$(CFG_NAME).sample" )
@$(call try_err, $(INSTALL_CFG) \
- "cfg/dictionary.$(CFG_NAME).sample" \
- "$(cfg_prefix)/$(cfg_dir)" )
+ "cfg/dictionary.$(CFG_NAME)" \
+ "$(cfg_prefix)/$(cfg_dir)dictionary.$(CFG_NAME).sample" )
@if [ -z "${skip_cfg_install}" -a \
! -f "$(cfg_prefix)/$(cfg_dir)dictionary.$(CFG_NAME)" ]; then \
mv -f "$(cfg_prefix)/$(cfg_dir)dictionary.$(CFG_NAME).sample" \
More information about the sr-dev
mailing list