From 88bfcabe027216022df7b6f410f0dd862a92128d Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Tue, 24 Feb 2015 00:07:33 +0000 Subject: Create installation directories with make install not configure. This fixes system-wide installations requiring root in order to create directories. --- make/console.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'make') diff --git a/make/console.pm b/make/console.pm index 9be5ef47c..045df8a70 100644 --- a/make/console.pm +++ b/make/console.pm @@ -80,13 +80,13 @@ sub prompt_bool($$$) { return $answer =~ /y/i; } -sub prompt_dir($$$) { - my ($interactive, $question, $default) = @_; +sub prompt_dir($$$;$) { + my ($interactive, $question, $default, $create_now) = @_; my ($answer, $create); do { $answer = rel2abs(prompt_string($interactive, $question, $default)); $create = prompt_bool($interactive && !-d $answer, "$answer does not exist. Create it?", 'y'); - if ($create) { + if ($create && $create_now) { my $mkpath = eval { mkpath($answer, 0, 0750); return 1; -- cgit v1.2.3 From cfff1874a8e934973d4090365b6d87bf37be8ed4 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Fri, 6 Mar 2015 16:10:49 +0000 Subject: Change server name in `./configure --help` to use the alias. Requested by @attilamolnar. --- make/configure.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'make') diff --git a/make/configure.pm b/make/configure.pm index 2cd5beb60..84f076483 100644 --- a/make/configure.pm +++ b/make/configure.pm @@ -167,7 +167,7 @@ FLAGS will search for c++, g++, clang++ or icpc. If you have any problems with configuring InspIRCd then visit our IRC channel -at irc.ChatSpike.net #InspIRCd. +at irc.inspircd.org #InspIRCd for support. EOH exit 0; -- cgit v1.2.3