alignak icon indicating copy to clipboard operation
alignak copied to clipboard

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

Open Dual-Boot opened this issue 6 years ago • 1 comments

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,

Dual-Boot avatar Aug 09 '19 20:08 Dual-Boot

+1

mohierf avatar Aug 11 '19 07:08 mohierf