summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2017-09-24 10:35:38 +0100
committerPeter Powell <petpow@saberuk.com>2017-09-24 10:36:20 +0100
commit8270aca2ee161ffa9a93243016266a2681b6d7ba (patch)
tree3a66f02d9e9873b81be1054cca867a205e309ffb /configure
parentb8babf2c43edd0f1ee2997125c6ea4cd21e15d68 (diff)
Allow the script directory to be set in interactive mode.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index c1052dff9..7382acab6 100755
--- a/configure
+++ b/configure
@@ -263,6 +263,7 @@ Currently, InspIRCd is configured with the following paths:
<|BOLD Log:|> $config{LOG_DIR}
<|BOLD Manual:|> $config{MANUAL_DIR}
<|BOLD Module:|> $config{MODULE_DIR}
+<|BOLD Script:|> $config{SCRIPT_DIR}
Do you want to change these settings?
EOQ
@@ -278,6 +279,7 @@ if (prompt_bool $interactive, $question, 0) {
$config{LOG_DIR} = prompt_dir $interactive, 'In what directory are log files to be stored?', $config{LOG_DIR};
$config{MANUAL_DIR} = prompt_dir $interactive, 'In what directory are manual pages to be placed?', $config{MANUAL_DIR};
$config{MODULE_DIR} = prompt_dir $interactive, 'In what directory are modules to be placed?', $config{MODULE_DIR};
+ $config{SCRIPT_DIR} = prompt_dir $interactive, 'In what directory are scripts to be placed?', $config{SCRIPT_DIR};
}
# Configure module settings.