Skip to content

Commit

Permalink
Merge pull request #7146 from rabbitmq/mergify/bp/v3.11.x/pr-7143
Browse files Browse the repository at this point in the history
Fix shell quoting in bazel rabbitmqctl helper (backport #7143)
  • Loading branch information
michaelklishin committed Feb 1, 2023
2 parents 96c812b + 292f195 commit 1f10095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rabbitmqctl.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1f10095

Please sign in to comment.