diff options
author | emerson <github@emersonveenstra.net> | 2017-09-25 14:24:08 -0400 |
---|---|---|
committer | emerson <github@emersonveenstra.net> | 2017-09-25 14:24:08 -0400 |
commit | b89fbe9e027b0be7dad7790466612c513fd2f66d (patch) | |
tree | ad9169ea4cc0e641064575c69d817ee24c2ee1b7 | |
parent | bdd854e33275302edc8a524e0e508fd10480b982 (diff) |
Fix SCRIPT_DIR directory change
SCRIPT_DIR didn't automatically change directory if the user specified a
non-default directory
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -270,7 +270,7 @@ EOQ if (prompt_bool $interactive, $question, 0) { my $original_base_dir = $config{BASE_DIR}; $config{BASE_DIR} = prompt_dir $interactive, 'In what directory do you wish to install the InspIRCd base?', $config{BASE_DIR}; - foreach my $key (qw(BINARY_DIR CONFIG_DIR DATA_DIR LOG_DIR MANUAL_DIR MODULE_DIR)) { + foreach my $key (qw(BINARY_DIR CONFIG_DIR DATA_DIR LOG_DIR MANUAL_DIR MODULE_DIR SCRIPT_DIR)) { $config{$key} =~ s/^\Q$original_base_dir\E/$config{BASE_DIR}/; } $config{BINARY_DIR} = prompt_dir $interactive, 'In what directory should the InspIRCd binary be placed?', $config{BINARY_DIR}; |