Skip to content

Commit

Permalink
Add erlang binaries to the path in rabbitmq-run.sh
Browse files Browse the repository at this point in the history
As they are no longer added automatically by the enclosing rule
  • Loading branch information
HoloRin committed Jun 18, 2024
1 parent 5debebf commit 35171eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions deps/rabbitmq_cli/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ elixir_escript_main(
app = ":erlang_app",
env = {
"HOME": '"$(mktemp -d)"',
"ELIXIR_ERL_OPTIONS": "+fnu",
},
main_module = "RabbitMQCtl",
mix_config = "config/config.exs",
Expand Down
2 changes: 2 additions & 0 deletions scripts/bazel/rabbitmq-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ set -euo pipefail
GREEN='\033[0;32m'
NO_COLOR='\033[0m'

export PATH="{ERLANG_HOME}/bin:$PATH"

rmq_realpath() {
local path=$1

Expand Down

0 comments on commit 35171eb

Please sign in to comment.