summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatole Denis <natolumin@rezel.net>2019-05-17 17:10:31 +0200
committerPeter Powell <petpow@saberuk.com>2019-05-17 16:44:40 +0100
commitc1817f32038a2ab6b94deaf2c3541dfcec3d0b7a (patch)
treedaacba2d43c2854efe6d69ae5c6e960b47fd077d
parent6e6007ef83e2b88b68e8cc5cc1591c1ca7ff96c7 (diff)
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
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index e2e0828a2..328fefe17 100755
--- 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'