# HG changeset patch # User Waqas Hussain # Date 1292156240 -18000 # Node ID f7dd583d99b4c577395e6ce3513b0286a79dea68 # Parent 69f95537e9e4ee083e3fa1bf5dc0fe0db15c7453 prosodyctl: Read PROSODY_SRCDIR and PROSODY_PLUGINDIR environment variables, to match main prosody executable. diff -r 69f95537e9e4 -r f7dd583d99b4 prosodyctl --- 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"); -- -- -- -- -- -- -- ---- -- -- -- -- -- -- -- --