summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorom <om@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-10 13:46:11 +0000
committerom <om@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-10 13:46:11 +0000
commite80c54a965b1e11cc9da573a3e352a243e0ec9f8 (patch)
treea50e0cb53d15f39fe75b45f8dd4f0f7a1a415edc
parentf93dcf4fa3301f2e461db86e25c3f9cad0f585ef (diff)
Change to use the core perl module Cwd rather than the pwd command. Should be more portable. (Om's bi-monthly MinGw attempt)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4831 e03df62e-2008-0410-955e-edbf42e46eb7
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index ceac05847..f5f4d38c5 100755
--- a/configure
+++ b/configure
@@ -12,7 +12,9 @@
#
########################################
-chomp($topdir = `pwd`);
+use Cwd;
+
+chomp($topdir = getcwd());
$this = resolve_directory($topdir); # PWD, Regardless.
@modlist = (); # Declare for Module List..
%config = (); # Initiate Configuration Hash..