diff options
Diffstat (limited to 'src/luarocks/command_line.lua')
| -rw-r--r-- | src/luarocks/command_line.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/command_line.lua b/src/luarocks/command_line.lua index 9688343e..9368e8ad 100644 --- a/src/luarocks/command_line.lua +++ b/src/luarocks/command_line.lua | |||
| @@ -76,7 +76,7 @@ function run_command(...) | |||
| 76 | if flags["from"] == true then | 76 | if flags["from"] == true then |
| 77 | die("Argument error: use --from=<url>") | 77 | die("Argument error: use --from=<url>") |
| 78 | end | 78 | end |
| 79 | local protocol, path = fs.split_url(flags["from"]) | 79 | local protocol, path = dir.split_url(flags["from"]) |
| 80 | table.insert(cfg.rocks_servers, 1, protocol.."://"..path) | 80 | table.insert(cfg.rocks_servers, 1, protocol.."://"..path) |
| 81 | end | 81 | end |
| 82 | 82 | ||
