Diff

prosodyctl @ 7302:92d86016e1e3

Merge 0.10->trunk
author Matthew Wild <mwild1@gmail.com>
date Fri, 18 Mar 2016 14:03:35 +0000
parent 7269:cde4ef90cf3d
parent 7297:b34a42a10c9f
child 7313:316ca5c15255
line wrap: on
line diff
--- a/prosodyctl	Fri Mar 18 00:08:58 2016 +0100
+++ b/prosodyctl	Fri Mar 18 14:03:35 2016 +0000
@@ -11,10 +11,10 @@
 
 -- Will be modified by configure script if run --
 
-CFG_SOURCEDIR=os.getenv("PROSODY_SRCDIR");
-CFG_CONFIGDIR=os.getenv("PROSODY_CFGDIR");
-CFG_PLUGINDIR=os.getenv("PROSODY_PLUGINDIR");
-CFG_DATADIR=os.getenv("PROSODY_DATADIR");
+CFG_SOURCEDIR=CFG_SOURCEDIR or os.getenv("PROSODY_SRCDIR");
+CFG_CONFIGDIR=CFG_CONFIGDIR or os.getenv("PROSODY_CFGDIR");
+CFG_PLUGINDIR=CFG_PLUGINDIR or os.getenv("PROSODY_PLUGINDIR");
+CFG_DATADIR=CFG_DATADIR or os.getenv("PROSODY_DATADIR");
 
 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --