aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Ouellette <oue.paul18@gmail.com>2019-09-02 23:03:35 -0400
committerHisham Muhammad <hisham@gobolinux.org>2019-09-03 14:50:47 -0300
commit989c58dff675532cf6378ade3790fd7e28e5bc07 (patch)
treedcd42f1056f9a6eda04f7e535142c4c9b25e11f8 /src
parent33d25b1669930f0ac6b3f402bd760685552af48f (diff)
downloadluarocks-989c58dff675532cf6378ade3790fd7e28e5bc07.tar.gz
luarocks-989c58dff675532cf6378ade3790fd7e28e5bc07.tar.bz2
luarocks-989c58dff675532cf6378ade3790fd7e28e5bc07.zip
Fix `luarocks build --pack-binary-rock --no-doc`
Diffstat (limited to 'src')
-rw-r--r--src/luarocks/cmd/build.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/luarocks/cmd/build.lua b/src/luarocks/cmd/build.lua
index e4f30715..57e722b5 100644
--- a/src/luarocks/cmd/build.lua
+++ b/src/luarocks/cmd/build.lua
@@ -142,11 +142,11 @@ function cmd_build.command(args)
142 if args.pack_binary_rock then 142 if args.pack_binary_rock then
143 return pack.pack_binary_rock(name, args.version, args.sign, function() 143 return pack.pack_binary_rock(name, args.version, args.sign, function()
144 opts.build_only_deps = false 144 opts.build_only_deps = false
145 local status, err, errcode = do_build(name, args.version, opts) 145 local name, version, errcode = do_build(name, args.version, opts)
146 if status and args.no_doc then 146 if name and args.no_doc then
147 remove_doc_dir(name, args.version) 147 remove_doc_dir(name, version)
148 end 148 end
149 return status, err, errcode 149 return name, version, errcode
150 end) 150 end)
151 end 151 end
152 152