aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/luarocks/fs/unix/tools.lua2
-rw-r--r--src/luarocks/fs/win32/tools.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/luarocks/fs/unix/tools.lua b/src/luarocks/fs/unix/tools.lua
index 91ea86c5..7535d679 100644
--- a/src/luarocks/fs/unix/tools.lua
+++ b/src/luarocks/fs/unix/tools.lua
@@ -343,5 +343,5 @@ function get_permissions(filename)
343end 343end
344 344
345function browser(url) 345function browser(url)
346 return os.execute(cfg.web_browser..' '..url) 346 return fs.execute(cfg.web_browser, url)
347end 347end
diff --git a/src/luarocks/fs/win32/tools.lua b/src/luarocks/fs/win32/tools.lua
index e18ae58e..abbcd844 100644
--- a/src/luarocks/fs/win32/tools.lua
+++ b/src/luarocks/fs/win32/tools.lua
@@ -364,5 +364,5 @@ function exists(file)
364end 364end
365 365
366function browser(url) 366function browser(url)
367 return os.execute(cfg.web_browser..' '..url) 367 return fs.execute(cfg.web_browser, url)
368end 368end