Changeset

1620:7acb630bdac9

Added: Support for PROSODY_SRCDIR and PROSODY_PLUGINDIR environment variables
author Waqas Hussain <waqas20@gmail.com>
date Wed, 29 Jul 2009 18:01:14 +0500
parents 1619:ae3250783db2
children 1621:a63ff2fbba8d
files prosody
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/prosody	Wed Jul 29 17:57:24 2009 +0500
+++ b/prosody	Wed Jul 29 18:01:14 2009 +0500
@@ -9,9 +9,9 @@
 
 -- Will be modified by configure script if run --
 
-CFG_SOURCEDIR=nil;
+CFG_SOURCEDIR=os.getenv("PROSODY_SRCDIR");
 CFG_CONFIGDIR=os.getenv("PROSODY_CFGDIR");
-CFG_PLUGINDIR=nil;
+CFG_PLUGINDIR=os.getenv("PROSODY_PLUGINDIR");
 CFG_DATADIR=os.getenv("PROSODY_DATADIR");
 
 -- -- -- -- -- -- -- ---- -- -- -- -- -- -- -- --