diff options
author | om <om@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-10 13:46:11 +0000 |
---|---|---|
committer | om <om@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-10 13:46:11 +0000 |
commit | e80c54a965b1e11cc9da573a3e352a243e0ec9f8 (patch) | |
tree | a50e0cb53d15f39fe75b45f8dd4f0f7a1a415edc | |
parent | f93dcf4fa3301f2e461db86e25c3f9cad0f585ef (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-x | configure | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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.. |