projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
UVL: Fixed dependency parsing
[project/luci.git]
/
libs
/
uvl
/
luasrc
/
uvl.lua
diff --git
a/libs/uvl/luasrc/uvl.lua
b/libs/uvl/luasrc/uvl.lua
index
52531be
..
9cdb994
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
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
if k and (
k:match("^"..expr.."%."..expr.."%."..expr.."$") or