From 677b08f121a72b0e6d5a4e0a70f841d8907fa930 Mon Sep 17 00:00:00 2001 From: Roman Shevchenko Date: Fri, 22 Jan 2021 21:41:21 +0100 Subject: [PATCH] [platform] Windows .bat launcher: fixing VM options loading; part 2 (previous code didn't work due to stupid immediate variable expansion) GitOrigin-RevId: 3db20a67657c275f83eb3defad33e12b9654eb26 --- .../build-scripts/resources/win/scripts/executable-template.bat | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/build-scripts/resources/win/scripts/executable-template.bat b/platform/build-scripts/resources/win/scripts/executable-template.bat index fbfb3c5f5478..00eec38248a0 100644 --- a/platform/build-scripts/resources/win/scripts/executable-template.bat +++ b/platform/build-scripts/resources/win/scripts/executable-template.bat @@ -98,6 +98,7 @@ SET ACC= IF "%VM_OPTIONS_FILE%" == "" ( ECHO ERROR: cannot find VM options file. ) ELSE ( + SET ACC=-Djb.vmOptionsFile="%VM_OPTIONS_FILE%" FOR /F "eol=# usebackq delims=" %%i IN ("%VM_OPTIONS_FILE%") DO CALL "%IDE_BIN_DIR%\append.bat" "%%i" )