aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/luarocks/install.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/luarocks/install.lua b/src/luarocks/install.lua
index c42542c9..0ae163f8 100644
--- a/src/luarocks/install.lua
+++ b/src/luarocks/install.lua
@@ -117,6 +117,7 @@ function run(...)
117 if not ok then return nil, err end 117 if not ok then return nil, err end
118 118
119 if name:match("%.rockspec$") or name:match("%.src%.rock$") then 119 if name:match("%.rockspec$") or name:match("%.src%.rock$") then
120 util.printout("Using "..name.."... switching to 'build' mode")
120 local build = require("luarocks.build") 121 local build = require("luarocks.build")
121 return build.run(name, flags["local"] and "--local") 122 return build.run(name, flags["local"] and "--local")
122 elseif name:match("%.rock$") then 123 elseif name:match("%.rock$") then