Fixed last commit
authorSteven Barth <steven@midlink.org>
Tue, 9 Sep 2008 16:19:52 +0000 (16:19 +0000)
committerSteven Barth <steven@midlink.org>
Tue, 9 Sep 2008 16:19:52 +0000 (16:19 +0000)
libs/uvl/luasrc/uvl.lua

index 35e5f53..7eec158 100644 (file)
@@ -668,7 +668,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