Software /
code /
prosody
Diff
prosodyctl @ 3741:f7dd583d99b4
prosodyctl: Read PROSODY_SRCDIR and PROSODY_PLUGINDIR environment variables, to match main prosody executable.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Sun, 12 Dec 2010 17:17:20 +0500 |
parent | 3739:9ee223177319 |
child | 3742:a18acd47904b |
line wrap: on
line diff
--- a/prosodyctl Sun Dec 12 17:15:57 2010 +0500 +++ b/prosodyctl Sun Dec 12 17:17:20 2010 +0500 @@ -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"); -- -- -- -- -- -- -- ---- -- -- -- -- -- -- -- --