Skip to content

Commit b0c034a

Browse files
authored
Ensure install.sh halts if either of OTP or Elixir fails to install (#1782)
1 parent f04b8b0 commit b0c034a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

install.sh

+6-1
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,13 @@ main() {
107107

108108
if unzip_available; then
109109
install_otp &
110+
pid_otp=$!
111+
110112
install_elixir &
111-
wait
113+
pid_elixir=$!
114+
115+
wait $pid_otp
116+
wait $pid_elixir
112117
else
113118
# if unzip is missing (e.g. official docker ubuntu image), install otp and elixir
114119
# serially because we unzip elixir using OTP zip:extract/2.

0 commit comments

Comments
 (0)