aboutsummaryrefslogtreecommitdiffstats
path: root/prosody
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-07-29 18:01:14 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-07-29 18:01:14 +0500
commitf72cd22f0ce3697c8239d59ba0e0355c2963e5b7 (patch)
tree06a9f49a00399d51eb2e9af30696eb9da03e440b /prosody
parente55c192465fb55cdaee01cb91e2f0e274778c5e6 (diff)
downloadprosody-f72cd22f0ce3697c8239d59ba0e0355c2963e5b7.tar.gz
prosody-f72cd22f0ce3697c8239d59ba0e0355c2963e5b7.zip
Added: Support for PROSODY_SRCDIR and PROSODY_PLUGINDIR environment variables
Diffstat (limited to 'prosody')
-rwxr-xr-xprosody4
1 files changed, 2 insertions, 2 deletions
diff --git a/prosody b/prosody
index b6247f21..4984ed15 100755
--- a/prosody
+++ b/prosody
@@ -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");
-- -- -- -- -- -- -- ---- -- -- -- -- -- -- -- --