From fdfb7f82f786ca1c359b6a39415f2d2c192aa8b5 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 11 Feb 2006 15:53:11 +0000 Subject: chdir() doesnt seem to want to chdir, except for in certain situations O_o git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3150 e03df62e-2008-0410-955e-edbf42e46eb7 --- configure | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 3b8b2ee1f..05ffecef6 100755 --- a/configure +++ b/configure @@ -623,9 +623,9 @@ if ($config{USE_GNUTLS} eq "y") { close(TMP); if ($failed) { print "Symlinking src/modules/m_ssl_gnutls.cpp from extra/\n"; - system("cd src/modules"); + chdir("src/modules"); system("ln -s extra/m_ssl_gnutls.cpp"); - system("cd ../.."); + chdir("../.."); } getmodules(); $failed = 0; @@ -657,9 +657,9 @@ if ($config{USE_GNUTLS} eq "y") { close(TMP); if ($failed) { print "Symlinking src/modules/m_ssl_openssl.cpp from extra/\n"; - system("cd src/modules"); + chdir("src/modules"); system("ln -s extra/m_ssl_openssl.cpp"); - system("cd ../.."); + chdir("../.."); } getmodules(); $failed = 0; -- cgit v1.2.3