summaryrefslogtreecommitdiff
path: root/scripts/context/lua/mtx-context.lua
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2012-06-11 01:40:15 +0300
committerMarius <mariausol@gmail.com>2012-06-11 01:40:15 +0300
commitddf4906882f4bea473964e5b0d209cc3a33bddef (patch)
tree6d7045186772c2186d2541fb3625b16bbf7246af /scripts/context/lua/mtx-context.lua
parenta8d90ec17f9ba850721305edcf360407c3aae5b3 (diff)
downloadcontext-ddf4906882f4bea473964e5b0d209cc3a33bddef.tar.gz
beta 2012.06.11 00:21
Diffstat (limited to 'scripts/context/lua/mtx-context.lua')
-rw-r--r--scripts/context/lua/mtx-context.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/context/lua/mtx-context.lua b/scripts/context/lua/mtx-context.lua
index 3aff2bee2..890c7455c 100644
--- a/scripts/context/lua/mtx-context.lua
+++ b/scripts/context/lua/mtx-context.lua
@@ -258,6 +258,7 @@ function ctxrunner.checkfile(ctxdata,ctxname,defaultname)
local flags = ctxdata.flags
for e in xml.collected(xmldata,"/ctx:job/ctx:flags/ctx:flag") do
+ local flag = xml.text(e) or ""
local key, value = match(flag,"^(.-)=(.+)$")
if key and value then
flags[key] = value