diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/luarocks/fetch/svn.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/fetch/svn.lua b/src/luarocks/fetch/svn.lua index ceb15350..b2ae59c9 100644 --- a/src/luarocks/fetch/svn.lua +++ b/src/luarocks/fetch/svn.lua | |||
@@ -20,7 +20,7 @@ function svn.get_sources(rockspec, extract, dest_dir) | |||
20 | assert(type(dest_dir) == "string" or not dest_dir) | 20 | assert(type(dest_dir) == "string" or not dest_dir) |
21 | 21 | ||
22 | local svn_cmd = rockspec.variables.SVN | 22 | local svn_cmd = rockspec.variables.SVN |
23 | local ok, err_msg = fs.is_tool_available(svn_cmd, "--version", "Subversion") | 23 | local ok, err_msg = fs.is_tool_available(svn_cmd, "Subversion", "--version") |
24 | if not ok then | 24 | if not ok then |
25 | return nil, err_msg | 25 | return nil, err_msg |
26 | end | 26 | end |