aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Peter Powell2017-09-26 13:11:56 +0100
committerGravatar GitHub2017-09-26 13:11:56 +0100
commitec82efd7111cdeb3e1f77f7d39a7ddd7eb4479cd (patch)
treead9169ea4cc0e641064575c69d817ee24c2ee1b7
parentFix the regex for parsing the git version in get_version. (diff)
parentFix SCRIPT_DIR directory change (diff)
downloadinspircd++-ec82efd7111cdeb3e1f77f7d39a7ddd7eb4479cd.tar.gz
inspircd++-ec82efd7111cdeb3e1f77f7d39a7ddd7eb4479cd.tar.bz2
inspircd++-ec82efd7111cdeb3e1f77f7d39a7ddd7eb4479cd.zip
Merge pull request #1401 from emersonveenstra/configure-fix
Fix SCRIPT_DIR directory change
-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};