From e80c54a965b1e11cc9da573a3e352a243e0ec9f8 Mon Sep 17 00:00:00 2001 From: om Date: Thu, 10 Aug 2006 13:46:11 +0000 Subject: 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 --- configure | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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.. -- cgit v1.2.3