inspircd

A modular C++ IRC daemon (ircd). https://www.inspircd.org/
Log | Files | Refs | README

commit c1817f32038a2ab6b94deaf2c3541dfcec3d0b7a
parent 6e6007ef83e2b88b68e8cc5cc1591c1ca7ff96c7
Author: Anatole Denis <natolumin@rezel.net>
Date:   Fri, 17 May 2019 17:10:31 +0200

configure: Fix log-dir in --system mode

There was a typo, making configure invoked with --system overwrite the
passed --log-dir option with the value of --module-dir

Diffstat:
Mconfigure | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure @@ -187,7 +187,7 @@ if (defined $opt_system) { $config{BINARY_DIR} = $opt_binary_dir // '/usr/sbin'; $config{CONFIG_DIR} = $opt_config_dir // '/etc/inspircd'; $config{DATA_DIR} = $opt_data_dir // '/var/inspircd'; - $config{LOG_DIR} = $opt_module_dir // '/var/log/inspircd'; + $config{LOG_DIR} = $opt_log_dir // '/var/log/inspircd'; $config{MANUAL_DIR} = $opt_manual_dir // '/usr/share/man/man1'; $config{MODULE_DIR} = $opt_module_dir // '/usr/lib/inspircd'; $config{SCRIPT_DIR} = $opt_script_dir // '/usr/share/inspircd'