Skip to content

Commit b763867

Browse files
committed
Properly quote erlc_opts when passed to erlc in the erlc rule
Fixes #37
1 parent 3cf64dd commit b763867

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)