Skip to content

Commit 5849335

Browse files
authored
build_tarballs: fix call to get_meta_json (#874)
1 parent 2d68c43 commit 5849335

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/AutoBuild.jl

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -224,12 +224,11 @@ function build_tarballs(ARGS, src_name, src_version, sources, script,
224224
# Dependencies that must be downloaded
225225
dependencies,
226226
)
227+
extra_kwargs = extract_kwargs(kwargs, (:lazy_artifacts, :init_block))
227228

228229
if meta_json_stream !== nothing
229230
# If they've asked for the JSON metadata, by all means, give it to them!
230-
dict = get_meta_json(args...;
231-
lazy_artifacts = lazy_artifacts,
232-
init_block = init_block)
231+
dict = get_meta_json(args...; extra_kwargs...)
233232
println(meta_json_stream, JSON.json(dict))
234233

235234
if meta_json_stream !== stdout
@@ -264,9 +263,7 @@ function build_tarballs(ARGS, src_name, src_version, sources, script,
264263
# The location the binaries will be available from
265264
bin_path = "https://github.com/$(deploy_jll_repo)/releases/download/$(tag)"
266265
build_jll_package(src_name, build_version, sources, code_dir, build_output_meta,
267-
dependencies, bin_path; verbose=verbose,
268-
extract_kwargs(kwargs, (:lazy_artifacts, :init_block))...,
269-
)
266+
dependencies, bin_path; verbose=verbose, extra_kwargs...)
270267
if deploy_jll_repo != "local"
271268
push_jll_package(src_name, build_version; code_dir=code_dir, deploy_repo=deploy_jll_repo)
272269
end

0 commit comments

Comments
 (0)