aboutsummaryrefslogtreecommitdiffstats
path: root/prosodyctl
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2010-12-12 17:17:20 +0500
committerWaqas Hussain <waqas20@gmail.com>2010-12-12 17:17:20 +0500
commitf7936f9d0f7d4ba9e31cf2b48a800a02d9f1f6fb (patch)
treef9370e839db674c4d165dfef83aa069cc98c3d76 /prosodyctl
parent0ff1ae77dd6a6061ce5214ca5c5ca3a169259f00 (diff)
downloadprosody-f7936f9d0f7d4ba9e31cf2b48a800a02d9f1f6fb.tar.gz
prosody-f7936f9d0f7d4ba9e31cf2b48a800a02d9f1f6fb.zip
prosodyctl: Read PROSODY_SRCDIR and PROSODY_PLUGINDIR environment variables, to match main prosody executable.
Diffstat (limited to 'prosodyctl')
-rwxr-xr-xprosodyctl4
1 files changed, 2 insertions, 2 deletions
diff --git a/prosodyctl b/prosodyctl
index bbd051a8..b2d03ed5 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -11,9 +11,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");
-- -- -- -- -- -- -- ---- -- -- -- -- -- -- -- --