]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Allow the script directory to be set in interactive mode.
authorPeter Powell <petpow@saberuk.com>
Sun, 24 Sep 2017 09:35:38 +0000 (10:35 +0100)
committerPeter Powell <petpow@saberuk.com>
Sun, 24 Sep 2017 09:36:20 +0000 (10:36 +0100)
configure

index c1052dff94da1f5d84487211536880e53876bbc2..7382acab683dab09a28250f3c47515fbc0afff44 100755 (executable)
--- 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.