From 18f764d9f567fb4066d2e7af301de599f787a53e Mon Sep 17 00:00:00 2001
From: Hisham Muhammad <hisham@gobolinux.org>
Date: Fri, 16 Sep 2011 16:10:16 -0300
Subject: Inform the user that 'install' switched into 'build'. Closes #30.

---
 src/luarocks/install.lua | 1 +
 1 file changed, 1 insertion(+)

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(...)
    if not ok then return nil, err end
 
    if name:match("%.rockspec$") or name:match("%.src%.rock$") then
+      util.printout("Using "..name.."... switching to 'build' mode")
       local build = require("luarocks.build")
       return build.run(name, flags["local"] and "--local")
    elseif name:match("%.rock$") then
-- 
cgit v1.2.3-55-g6feb