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
commitc5c3f9c39b37cf56f1caa2110418730ee9b24901 (patch)
tree65c9f8e8d36458ee4d74fbe77cb1775eb4f324b7 /prosodyctl
parenteaa05a4a21bd61c1b7e870aef0746b926228e734 (diff)
downloadprosody-c5c3f9c39b37cf56f1caa2110418730ee9b24901.tar.gz
prosody-c5c3f9c39b37cf56f1caa2110418730ee9b24901.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");
-- -- -- -- -- -- -- ---- -- -- -- -- -- -- -- --