From 93260edb12c45eee4c3e26470a014f6b8d485e23 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 25 Jan 2006 17:51:47 +0000 Subject: Grr. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2893 e03df62e-2008-0410-955e-edbf42e46eb7 --- configure | 9 +++++---- 1 file 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 = ); - 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." -- cgit v1.2.3