projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9eb7da2
)
util.prosodyctl: Import CFG_SOURCEDIR from the global environment (thanks macaronyde!)
author
Matthew Wild
<mwild1@gmail.com>
Wed, 6 May 2009 20:45:02 +0000
(21:45 +0100)
committer
Matthew Wild
<mwild1@gmail.com>
Wed, 6 May 2009 20:45:02 +0000
(21:45 +0100)
util/prosodyctl.lua
patch
|
blob
|
history
diff --git
a/util/prosodyctl.lua
b/util/prosodyctl.lua
index 3b523a786bd419800b9d261c05fcdf316f5baec6..ce223459229145163c10840c6f8e9caf31f953e7 100644
(file)
--- a/
util/prosodyctl.lua
+++ b/
util/prosodyctl.lua
@@
-9,6
+9,9
@@
local nodeprep, nameprep = stringprep.nodeprep, stringprep.nameprep;
local io, os = io, os;
local tostring, tonumber = tostring, tonumber;
+
+local CFG_SOURCEDIR = _G.CFG_SOURCEDIR;
+
module "prosodyctl"
function adduser(params)