diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2011-08-14 11:24:58 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2011-08-14 11:24:58 -0300 |
commit | 4159b2c0fab5e3f273854d064196aecbb7434520 (patch) | |
tree | 5fef7418f22d99fb2df245f96490757d5d94e707 | |
parent | 0ceec7025f4ddc47f4e2b9f23f88a4eba0e1f73b (diff) | |
download | luarocks-4159b2c0fab5e3f273854d064196aecbb7434520.tar.gz luarocks-4159b2c0fab5e3f273854d064196aecbb7434520.tar.bz2 luarocks-4159b2c0fab5e3f273854d064196aecbb7434520.zip |
Be a bit more verbose in type='command',
to act more like type='make'.
-rw-r--r-- | src/luarocks/build/command.lua | 2 |
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 |