replace run_shell with run
This commit is contained in:
parent
3630f62053
commit
0e12e84103
@ -21,10 +21,10 @@ def _platform_binary_impl(ctx):
|
||||
platform_sanitized = ctx.attr.platform.replace("/", "_").replace(":", "_")
|
||||
dst = ctx.actions.declare_file("{}-{}".format(paths.basename(ctx.file.src.path), platform_sanitized))
|
||||
src = ctx.file.src
|
||||
ctx.actions.run_shell(
|
||||
ctx.actions.run(
|
||||
outputs = [dst],
|
||||
inputs = [src],
|
||||
command = "cp $1 $2",
|
||||
executable = "cp",
|
||||
arguments = [src.path, dst.path],
|
||||
)
|
||||
return [DefaultInfo(
|
||||
|
Loading…
Reference in New Issue
Block a user