summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-11 15:53:11 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-11 15:53:11 +0000
commitfdfb7f82f786ca1c359b6a39415f2d2c192aa8b5 (patch)
tree0bd90280f9fc5968131e1ca8a82c7fac4b2c0daf
parent41471dee973c34bffa59086440b5af40a02f2bb0 (diff)
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
-rwxr-xr-xconfigure8
1 files changed, 4 insertions, 4 deletions
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;