From 8270aca2ee161ffa9a93243016266a2681b6d7ba Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Sun, 24 Sep 2017 10:35:38 +0100 Subject: [PATCH] Allow the script directory to be set in interactive mode. --- configure | 2 ++ 1 file changed, 2 insertions(+) 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. -- 2.39.2