aboutsummaryrefslogtreecommitdiff
path: root/src/luarocks/install.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/luarocks/install.lua')
-rw-r--r--src/luarocks/install.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/luarocks/install.lua b/src/luarocks/install.lua
index c938aa9f..ae162b86 100644
--- a/src/luarocks/install.lua
+++ b/src/luarocks/install.lua
@@ -168,7 +168,6 @@ function install.run(...)
168 if not ok then return nil, err, cfg.errorcodes.PERMISSIONDENIED end 168 if not ok then return nil, err, cfg.errorcodes.PERMISSIONDENIED end
169 169
170 if name:match("%.rockspec$") or name:match("%.src%.rock$") then 170 if name:match("%.rockspec$") or name:match("%.src%.rock$") then
171 util.printout("Using "..name.."... switching to 'build' mode")
172 local build = require("luarocks.build") 171 local build = require("luarocks.build")
173 return build.run(name, util.forward_flags(flags, "local", "keep", "deps-mode", "only-deps")) 172 return build.run(name, util.forward_flags(flags, "local", "keep", "deps-mode", "only-deps"))
174 elseif name:match("%.rock$") then 173 elseif name:match("%.rock$") then
@@ -190,7 +189,7 @@ function install.run(...)
190 if not url then 189 if not url then
191 return nil, err 190 return nil, err
192 end 191 end
193 util.printout("Installing "..url.."...") 192 util.printout("Installing "..url)
194 return install.run(url, util.forward_flags(flags)) 193 return install.run(url, util.forward_flags(flags))
195 end 194 end
196end 195end