Skip to content

Commit b7e52e3

Browse files
committed
Do not escape erlc_opts in erlang_bytecode2 rule
This this allows "-I some/path/*" style opts to work
1 parent b20a440 commit b7e52e3

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

private/erlang_bytecode2.bzl

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,7 @@ fi
8989
include_args = " ".join(include_args),
9090
pa_args = " ".join(pa_args),
9191
out_dir = out_dir,
92-
erlc_opts = " ".join([
93-
"'{}'".format(opt)
94-
for opt in ctx.attr.erlc_opts[ErlcOptsInfo].values
95-
]),
92+
erlc_opts = " ".join(ctx.attr.erlc_opts[ErlcOptsInfo].values),
9693
)
9794

9895
inputs = depset(

0 commit comments

Comments
 (0)