diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-11 15:29:14 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-11 15:29:14 +0000 |
commit | 5d91b2bbaf745e651429e3f2f0c09941dbea945c (patch) | |
tree | 6c63c93d6687f9aa09b8e73b94aeba25bad474c5 | |
parent | 69df936719c464a697986b878e6682bc97977626 (diff) |
Different way of making symlinks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3148 e03df62e-2008-0410-955e-edbf42e46eb7
-rwxr-xr-x | configure | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -618,7 +618,9 @@ print "\033[0mGnuTLS Support:\033[1;32m\t\t\t$config{USE_GNUTLS}\033[0m\n"; print "\033[0mOpenSSL Support:\033[1;32m\t\t$config{USE_OPENSSL}\033[0m\n\n"; if ($config{USE_GNUTLS} eq "y") { - system("ln -s src/modules/extra/m_ssl_gnutls.cpp src/modules/m_ssl_gnutls.cpp"); + system("cd src/modules"); + system("ln -s extra/m_ssl_gnutls.cpp"); + system("cd ../.."); getmodules(); $failed = 0; open(TMP, "<$config{CONFIG_DIR}/key.pem") or $failed = 1; @@ -644,7 +646,9 @@ if ($config{USE_GNUTLS} eq "y") { print "SSL Certificates found, skipping.\n\n" } } elsif ($config{USE_OPENSSL} eq "y") { - system("ln -s src/modules/extra/m_ssl_openssl.cpp src/modules/m_ssl_openssl.cpp"); + system("cd src/modules"); + system("ln -s extra/m_ssl_openssl.cpp"); + system("cd ../.."); getmodules(); $failed = 0; open(TMP, "<$config{CONFIG_DIR}/key.pem") or $failed = 1; |