aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/luarocks/build/command.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/luarocks/build/command.lua b/src/luarocks/build/command.lua
index 72d3de7f..aeec0da7 100644
--- a/src/luarocks/build/command.lua
+++ b/src/luarocks/build/command.lua
@@ -17,11 +17,13 @@ function run(rockspec)
17 util.variable_substitutions(build, rockspec.variables) 17 util.variable_substitutions(build, rockspec.variables)
18 18
19 if build.build_command then 19 if build.build_command then
20 util.printout(build.build_command)
20 if not fs.execute(build.build_command) then 21 if not fs.execute(build.build_command) then
21 return nil, "Failed building." 22 return nil, "Failed building."
22 end 23 end
23 end 24 end
24 if build.install_command then 25 if build.install_command then
26 util.printout(build.install_command)
25 if not fs.execute(build.install_command) then 27 if not fs.execute(build.install_command) then
26 return nil, "Failed installing." 28 return nil, "Failed installing."
27 end 29 end