Skip to content

Commit

Permalink
fixup! chore(build): bump bazel to 7.x
Browse files Browse the repository at this point in the history
  • Loading branch information
fffonion committed Sep 10, 2024
1 parent aad4f41 commit 296b56a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build/build_system.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -303,12 +303,14 @@ def _kong_install_impl(ctx):
# )
if file.is_directory:
output = ctx.actions.declare_directory(full_path)
src = file.path + "/." # avoid duplicating the directory name
else:
output = ctx.actions.declare_file(full_path)
src = file.path
ctx.actions.run_shell(
outputs = [output],
inputs = [file],
command = "cp -r %s %s" % (file.path, output.path),
command = "cp -r %s %s" % (src, output.path),
)

outputs.append(output)
Expand Down

0 comments on commit 296b56a

Please sign in to comment.