odk/config/cfgWin.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 2a5105cd0f4025b8ee4cecbd8cef864f72b0f659 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Fri Feb 17 13:27:05 2023 +0100 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Fri Feb 17 15:18:07 2023 +0000 Quote some Windows shell settings ...or else, at least with the Windows 11 cmd.exe, when setsdkenv_windows.bat has already been run before (and generated the %APPDATA%\libreofficeX.Y_sdk\setsdkenv_windows.bat script), and is run again (and thus reads that generated script), it failed with something like "\Microsoft was unexpected at this time." Change-Id: I1bfaf375e52a3ee2debe48a7dd736808790346ca Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147217 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/odk/config/cfgWin.js b/odk/config/cfgWin.js index f112e231b193..6cfdce68f36a 100644 --- a/odk/config/cfgWin.js +++ b/odk/config/cfgWin.js @@ -928,9 +928,9 @@ function writeBatFile(fdir, file) " )\n" + "\n" + "REM Set library path. \n" + - "set LIB=%OO_SDK_HOME%\\lib;%LIB%\n" + + "set \"LIB=%OO_SDK_HOME%\\lib;%LIB%\"\n" + "if defined CPP_WINDOWS_SDK (\n" + - " set LIB=%LIB%;%CPP_WINDOWS_SDK%\\lib\n" + + " set \"LIB=%LIB%;%CPP_WINDOWS_SDK%\\lib\"\n" + " )\n" + "\n" + "REM Set office program path.\n" +