Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions install.bat
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,9 @@ if not exist "%otp_dir%\bin" (

set otp_url=https://github.com/erlang/otp/releases/download/OTP-!otp_version!/%otp_zip%
echo downloading !otp_url!...
curl.exe -fsSLo %tmp_dir%\%otp_zip% "!otp_url!" || exit /b 1
curl.exe -fsSLo "%tmp_dir%\%otp_zip%" "!otp_url!" || exit /b 1

echo unpacking %tmp_dir%\%otp_zip%
echo unpacking !tmp_dir!\!otp_zip!
powershell -NoProfile -Command ^
"$ErrorActionPreference='Stop';" ^
"try {" ^
Expand Down Expand Up @@ -191,7 +191,7 @@ if not exist "%elixir_dir%\bin" (
echo downloading !elixir_url!...
curl.exe -fsSLo "%tmp_dir%\%elixir_zip%" "!elixir_url!" || exit /b 1

echo unpacking %tmp_dir%\%elixir_zip%
echo unpacking !tmp_dir!\!elixir_zip!
powershell -NoProfile -Command ^
"$ErrorActionPreference='Stop';" ^
"try {" ^
Expand All @@ -202,6 +202,6 @@ if not exist "%elixir_dir%\bin" (
" Expand-Archive -LiteralPath '%tmp_dir%\%elixir_zip%' -DestinationPath '%elixir_dir%' -Force" ^
" }" ^
"} catch { Write-Error $_; exit 1 }"
del /f /q %tmp_dir%\%elixir_zip%
del /f /q "%tmp_dir%\%elixir_zip%"
)
goto :eof