projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a676cd0
)
UVL: Fixed dependency parsing
author
Steven Barth
<steven@midlink.org>
Wed, 10 Sep 2008 23:16:36 +0000
(23:16 +0000)
committer
Steven Barth
<steven@midlink.org>
Wed, 10 Sep 2008 23:16:36 +0000
(23:16 +0000)
libs/uvl/luasrc/uvl.lua
patch
|
blob
|
history
diff --git
a/libs/uvl/luasrc/uvl.lua
b/libs/uvl/luasrc/uvl.lua
index 52531be32d9f9bd85ec6b5883013eae2cc1c652b..9cdb9948dca4f0529bb037a9f35b921096f57de6 100644
(file)
--- a/
libs/uvl/luasrc/uvl.lua
+++ b/
libs/uvl/luasrc/uvl.lua
@@
-669,7
+669,7
@@
function UVL._read_dependency( self, values, deps )
for _, value in ipairs(values) do
local condition = { }
for val in value:gmatch("[^%s,]+") do
- local k, v = val:match("([^%s]+)%s*=*%s*([^%s]*)")
+ local k, v = val:match("([^%s
=
]+)%s*=*%s*([^%s]*)")
if k and (
k:match("^"..expr.."%."..expr.."%."..expr.."$") or