diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2023-02-17 13:27:05 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2023-02-17 15:18:07 +0000 |
commit | 2a5105cd0f4025b8ee4cecbd8cef864f72b0f659 (patch) | |
tree | 4b0ef5cfdc8a3a07b225b7acf7e8130dfa46a382 /odk | |
parent | 83ca2ace843eda40fc83270c7b068e68e2a0519c (diff) |
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 <sbergman@redhat.com>
Diffstat (limited to 'odk')
-rw-r--r-- | odk/config/cfgWin.js | 4 |
1 files changed, 2 insertions, 2 deletions
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" + |