diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2011-09-16 16:10:16 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2011-09-16 16:10:16 -0300 |
commit | 18f764d9f567fb4066d2e7af301de599f787a53e (patch) | |
tree | 24a2be521916a78f610ccf3ff277d057d80c5e35 | |
parent | 4f983c3fc840e6d3bf4b4980bdfd04e9dcd265e0 (diff) | |
download | luarocks-18f764d9f567fb4066d2e7af301de599f787a53e.tar.gz luarocks-18f764d9f567fb4066d2e7af301de599f787a53e.tar.bz2 luarocks-18f764d9f567fb4066d2e7af301de599f787a53e.zip |
Inform the user that 'install' switched into 'build'. Closes #30.
-rw-r--r-- | src/luarocks/install.lua | 1 |
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 |