summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-25 17:51:47 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-25 17:51:47 +0000
commit93260edb12c45eee4c3e26470a014f6b8d485e23 (patch)
treeca83cac991f0d22166e503e473d85ac005185398 /configure
parentf4ecf32b83f630e04aa14079367fedca0cecbc81 (diff)
Grr.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2893 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 5 insertions, 4 deletions
diff --git a/configure b/configure
index 4eb065f1b..93c4d6e01 100755
--- a/configure
+++ b/configure
@@ -402,7 +402,7 @@ while (!$continue) {
print "What is the maximum number of mode changes in one line?\n";
print "[\033[1;32m$config{MAXI_MODES}\033[0m] -> ";
chomp($var = <STDIN>);
- if ($var eq "") { $var = $config{MAXI_MODES}; }
+ if ($var eq "") { $var = $onfig{MAXI_MODES}; }
if ($var =~ /^\d+$/) {
# We don't care what the number is, set it and be on our way.
$config{MAXI_MODES} = $var;
@@ -564,7 +564,8 @@ print "\033[0mStatic modules:\033[1;32m\t\t\t$config{STATIC_LINK}\033[0m\n";
print "\033[0mMultithread DNS:\033[1;32m\t\t$config{THREADED_DNS}\033[0m\n\n";
if ($config{USE_GNUTLS} eq "y") {
- `cp src/modules/extra/m_ssl_gnutls.cpp src/modules/m_ssl_gnutls.cpp`;
+ system("cp src/modules/extra/m_ssl_gnutls.cpp src/modules/m_ssl_gnutls.cpp");
+ getmodules();
$failed = 0;
open(TMP, "<$config{CONFIG_DIR}/key.pem") or $failed = 1;
close(TMP);
@@ -582,8 +583,8 @@ if ($config{USE_GNUTLS} eq "y") {
system("certtool --generate-privkey --outfile key.pem");
system("certtool --generate-self-signed --load-privkey key.pem --outfile cert.pem");
print "\nCertificate generation complete, copying to config directory... ";
- `mv key.pem $config{CONFIG_DIR}/key.pem`;
- `mv cert.pem $config{CONFIG_DIR}/cert.pem`;
+ system("mv key.pem $config{CONFIG_DIR}/key.pem");
+ system("mv cert.pem $config{CONFIG_DIR}/cert.pem");
print "Done.\n\n";
} else {
print "SSL Certificates found, skipping."