Fix shell quoting in bazel rabbitmqctl helper
E.g. any complex `rabbitmqctl eval` was not possible via `bazel run rabbitmqctl`.
This commit is contained in:
parent
67c123f91f
commit
97b7e19059
|
@ -4,7 +4,7 @@ def _impl(ctx):
|
|||
rabbitmq_home_path = rabbitmq_home_short_path(ctx.attr.home)
|
||||
|
||||
script = """
|
||||
exec ./{home}/sbin/{cmd} $@
|
||||
exec ./{home}/sbin/{cmd} "$@"
|
||||
""".format(
|
||||
home = rabbitmq_home_path,
|
||||
cmd = ctx.label.name,
|
||||
|
|
Loading…
Reference in New Issue