summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authoremerson <github@emersonveenstra.net>2017-09-25 14:24:08 -0400
committeremerson <github@emersonveenstra.net>2017-09-25 14:24:08 -0400
commitb89fbe9e027b0be7dad7790466612c513fd2f66d (patch)
treead9169ea4cc0e641064575c69d817ee24c2ee1b7 /configure
parentbdd854e33275302edc8a524e0e508fd10480b982 (diff)
Fix SCRIPT_DIR directory change
SCRIPT_DIR didn't automatically change directory if the user specified a non-default directory
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 7382acab6..1e66df000 100755
--- a/configure
+++ b/configure
@@ -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};