From 0c405237c6573030e2f5e943e06dbada3a45a829 Mon Sep 17 00:00:00 2001 From: idk Date: Thu, 17 Nov 2022 21:07:14 -0500 Subject: [PATCH] quote %JAVA% when running eepget.bat --- installer/resources/eepget.bat | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/installer/resources/eepget.bat b/installer/resources/eepget.bat index 5d829c4658..944a0b4952 100644 --- a/installer/resources/eepget.bat +++ b/installer/resources/eepget.bat @@ -71,14 +71,14 @@ if not defined JAVA (set JAVA="%JAVA_PATH%\bin\java.exe") :eepget :: -:: The binary in %JAVA% should exist, assuming it was set by us. Perhaps it +:: The binary in "%JAVA%" should exist, assuming it was set by us. Perhaps it :: won't if the user specified it manually. Let's check to be sure. :: -if not exist %JAVA% ( - echo. Could not find %JAVA%. Please ensure that the variable JAVA +if not exist "%JAVA%" ( + echo. Could not find "%JAVA%". Please ensure that the variable JAVA echo. refers to a path that exists. goto end ) -%JAVA% -cp "%_I2PHOME%\lib\i2p.jar" net.i2p.util.EepGet %1 %2 %3 %4 %5 +"%JAVA%" -cp "%_I2PHOME%\lib\i2p.jar" net.i2p.util.EepGet %1 %2 %3 %4 %5 :end