aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2011-04-11 14:13:23 -0300
committerHisham Muhammad <hisham@gobolinux.org>2011-04-11 14:13:23 -0300
commit552cacdff60130b1b42c179972d69f1d961bcafa (patch)
tree0a0e3b52b041d5de893f6e7d873b97eb8f1c2f91
parent2ec32a6f1e198a396353c23c5483ece4b53c1072 (diff)
downloadluarocks-552cacdff60130b1b42c179972d69f1d961bcafa.tar.gz
luarocks-552cacdff60130b1b42c179972d69f1d961bcafa.tar.bz2
luarocks-552cacdff60130b1b42c179972d69f1d961bcafa.zip
report build error
-rw-r--r--src/luarocks/build.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/build.lua b/src/luarocks/build.lua
index e6afde54..c2656fef 100644
--- a/src/luarocks/build.lua
+++ b/src/luarocks/build.lua
@@ -174,7 +174,7 @@ function build_rockspec(rockspec_file, need_to_fetch, minimal_mode)
174 local build_type 174 local build_type
175 ok, build_type = pcall(require, "luarocks.build." .. build.type) 175 ok, build_type = pcall(require, "luarocks.build." .. build.type)
176 if not ok or not type(build_type) == "table" then 176 if not ok or not type(build_type) == "table" then
177 return nil, "Failed initializing build back-end for build type '"..build.type.."'" 177 return nil, "Failed initializing build back-end for build type '"..build.type.."': "..build_type
178 end 178 end
179 179
180 ok, err = build_type.run(rockspec) 180 ok, err = build_type.run(rockspec)