Skip to content

Commit 1c82dc0

Browse files
authored
Merge pull request #38 from rabbitmq/rules_erlang-37
Properly quote erlc_opts when passed to erlc in the erlc rule
2 parents 3cf64dd + b763867 commit 1c82dc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

private/erlc.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def _impl(ctx):
109109
include_args = " ".join(include_args),
110110
pa_args = " ".join(pa_args),
111111
out_dir = dest_dir,
112-
erlc_opts = " ".join(ctx.attr.erlc_opts),
112+
erlc_opts = " ".join(["'{}'".format(opt) for opt in ctx.attr.erlc_opts]),
113113
)
114114

115115
inputs = []

0 commit comments

Comments
 (0)