Skip to content

Commit e8061ec

Browse files
committed
Bazel: fix _zipmerge rule
1 parent 5672ddf commit e8061ec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

misc/bazel/pkg.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,12 +231,12 @@ def _zipmerge_impl(ctx):
231231
]
232232
zips.append(zip)
233233
else:
234-
zips = zip_target.files.to_list()
235-
for zip in zips:
234+
zip_files = zip_target.files.to_list()
235+
for zip in zip_files:
236236
if zip.extension != "zip":
237237
fail("%s file found while expecting a .zip file " % zip.short_path)
238238
args.append("--prefix=%s" % ctx.attr.prefix)
239-
args += [z.path for z in zips]
239+
args += [z.path for z in zip_files]
240240
transitive_zips.append(zip_target.files)
241241
ctx.actions.run(
242242
outputs = [output],

0 commit comments

Comments
 (0)