We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 713876d commit 2e33979Copy full SHA for 2e33979
pkg/private/tar/tar.bzl
@@ -105,7 +105,8 @@ def _pkg_tar_impl(ctx):
105
args.add("--mtime", "portable")
106
if ctx.attr.modes:
107
for key in ctx.attr.modes:
108
- args.add("--modes", "%s=%s" % (_quote(key), ctx.attr.modes[key]))
+ expanded_key = expand_variables(ctx, key)
109
+ args.add("--modes", "%s=%s" % (_quote(expanded_key), ctx.attr.modes[key]))
110
if ctx.attr.owners:
111
for key in ctx.attr.owners:
112
args.add("--owners", "%s=%s" % (_quote(key), ctx.attr.owners[key]))
0 commit comments