From b43c3959e0c845fd5bac7a3d690887eddd6c243e Mon Sep 17 00:00:00 2001 From: Dan Jantea Date: Wed, 23 Sep 2026 13:30:06 +0300 Subject: [PATCH] Fix install.bat failing when the user profile path contains a space `mkdir %tmp_dir% 2>nul` is unquoted, so when %USERPROFILE% contains a space cmd splits it into two arguments and creates the wrong directories. The error is swallowed by 2>nul, so the script continues with a tmp directory that was never created, and the download then fails with a bare `curl: (23) client returned ERROR on write of 16384 bytes`. Every other use of the path variables in this file is already quoted. Co-Authored-By: Claude Opus 5 --- public/install.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/install.bat b/public/install.bat index 0372a8ae7..f07e6a2d3 100755 --- a/public/install.bat +++ b/public/install.bat @@ -100,7 +100,7 @@ if "%elixir_major_minor%" == "1.14" ( set "root_dir=%USERPROFILE%\.elixir-install" set "tmp_dir=%root_dir%\tmp" -mkdir %tmp_dir% 2>nul +mkdir "%tmp_dir%" 2>nul set "otp_dir=%root_dir%\installs\otp\%otp_version%" set "elixir_dir=%root_dir%\installs\elixir\%elixir_version%-otp-%elixir_otp_release%"