diff options
-rw-r--r-- | src/luarocks/queries.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/luarocks/queries.lua b/src/luarocks/queries.lua index 6df61296..0c8790fa 100644 --- a/src/luarocks/queries.lua +++ b/src/luarocks/queries.lua | |||
@@ -160,6 +160,8 @@ do | |||
160 | return nil, "failed to extract dependency name from '"..depstr.."'" | 160 | return nil, "failed to extract dependency name from '"..depstr.."'" |
161 | end | 161 | end |
162 | 162 | ||
163 | ns_name = ns_name:lower() | ||
164 | |||
163 | local constraints, err = parse_constraints(rest) | 165 | local constraints, err = parse_constraints(rest) |
164 | if not constraints then | 166 | if not constraints then |
165 | return nil, err | 167 | return nil, err |