diff options
Diffstat (limited to '')
-rw-r--r-- | src/luarocks/path.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/path.lua b/src/luarocks/path.lua index 37898435..d740331b 100644 --- a/src/luarocks/path.lua +++ b/src/luarocks/path.lua | |||
@@ -200,7 +200,7 @@ end | |||
200 | -- @return string: A directory name using the platform's separator. | 200 | -- @return string: A directory name using the platform's separator. |
201 | function path.module_to_path(mod) | 201 | function path.module_to_path(mod) |
202 | assert(type(mod) == "string") | 202 | assert(type(mod) == "string") |
203 | return (mod:gsub("[^.]*$", ""):gsub("%.", dir.separator)) | 203 | return (mod:gsub("[^.]*$", ""):gsub("%.", "/")) |
204 | end | 204 | end |
205 | 205 | ||
206 | --- Set up path-related variables for a given rock. | 206 | --- Set up path-related variables for a given rock. |