summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-18 19:36:25 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-18 19:36:25 +0000
commit4997687ba3a2c929d8d7d4330310c98e27138f0e (patch)
tree70842261f8d6791129a630bdf18418d1ffb405d0
parent45bfdfa37b24c8b9346b9df96ba7666cee3c7936 (diff)
Fixes for solaris pwd
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1426 e03df62e-2008-0410-955e-edbf42e46eb7
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 430bd859d..34e18cc5c 100755
--- a/configure
+++ b/configure
@@ -11,11 +11,11 @@
#
########################################
-
-$this = resolve_directory(chomp(`pwd`)); # PWD, Regardless.
+chomp($topdir = `pwd`);
+$this = resolve_directory($topdir); # PWD, Regardless.
@modlist = (); # Declare for Module List..
%config = (); # Initiate Configuration Hash..
-$config{ME} = resolve_directory(chomp(`pwd`)); # Present Working Directory
+$config{ME} = resolve_directory($topdir); # Present Working Directory
$config{CONFIG_DIR} = resolve_directory($config{ME}."/conf"); # Configuration Directory
$config{MODULE_DIR} = resolve_directory($config{ME}."/modules"); # Modules Directory
$config{BINARY_DIR} = resolve_directory($config{ME}."/bin"); # Binary Directory