From b89fbe9e027b0be7dad7790466612c513fd2f66d Mon Sep 17 00:00:00 2001 From: emerson Date: Mon, 25 Sep 2017 14:24:08 -0400 Subject: Fix SCRIPT_DIR directory change SCRIPT_DIR didn't automatically change directory if the user specified a non-default directory --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure') 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}; -- cgit v1.2.3