Skip to content

Commit 1c80572

Browse files
committed
let args.add expand the File .path
1 parent 72e2e19 commit 1c80572

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pkg/private/deb/deb.bzl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ def _pkg_deb_impl(ctx):
4040

4141
files = [ctx.file.data]
4242
args = ctx.actions.args()
43-
args.add("--output", output_file.path)
44-
args.add("--changes", changes_file.path)
45-
args.add("--data", ctx.file.data.path)
43+
args.add("--output", output_file)
44+
args.add("--changes", changes_file)
45+
args.add("--data", ctx.file.data)
4646
args.add("--package", ctx.attr.package)
4747
args.add("--maintainer", ctx.attr.maintainer)
4848

@@ -114,7 +114,7 @@ def _pkg_deb_impl(ctx):
114114
fail("Neither description_file nor description attribute was specified")
115115

116116
if ctx.attr.changelog:
117-
args.append("--changelog=@" + ctx.file.changelog.path)
117+
args.append("--changelog" + "@" + ctx.file.changelog.path)
118118
files.append(ctx.file.changelog)
119119

120120
# Built using can also be specified by a file or inlined (but is not mandatory)

0 commit comments

Comments
 (0)