Alignak-monitoring / alignak

Monitoring tool, highly flexible and new standard oriented
https://alignak-monitoring.github.io
GNU Affero General Public License v3.0
86 stars 19 forks source link

duplicated slash after macro expansion of the main configuration file alignak.ini #1116

Open Dual-Boot opened 5 years ago

Dual-Boot commented 5 years ago

hello,

in the main alignak.ini file directory macro are like that :

_dist=/usr/local/
_dist_BIN=%(_dist)s/bin
_dist_ETC=%(_dist)s/share/alignak/etc
_dist_VAR=%(_dist)s/var/lib/alignak
_dist_RUN=%(_dist)s/var/run/alignak
_dist_LOG=%(_dist)s/var/log/alignak

It should be like this to avoid doube slash after expansion :

_dist=/usr/local/
_dist_BIN=%(_dist)sbin
_dist_ETC=%(_dist)sshare/alignak/etc
_dist_VAR=%(_dist)svar/lib/alignak
_dist_RUN=%(_dist)svar/run/alignak
_dist_LOG=%(_dist)svar/log/alignak

Test on Ubuntu 18.04 up to date.

Regards,

mohierf commented 5 years ago

+1