From ab8ac10a4f44d5ed50c5ee5ea8b4686d276615dd Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 27 Jun 2011 18:18:39 +0300 Subject: Fix two obvious errors, but this still sucks The generated setsdkenv_windows.bat file still does not seem to work properly on a 64-bit OS where LibreOffice has been installed in the default C:\Program Files (x86)\LibreOffice 3.4 folder. The horror of cmd.exe, "special characters", quoting... --- odk/cfgWin.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'odk') diff --git a/odk/cfgWin.js b/odk/cfgWin.js index 398599dd9eec..961f15ae051a 100644 --- a/odk/cfgWin.js +++ b/odk/cfgWin.js @@ -923,8 +923,8 @@ function writeBatFile(fdir, file) "\n" + "REM Add directory of the Win SDK to the path, if necessary.\n" + "if defined CPP_WINDOWS_SDK (\n" + - " set PATH=%CPP_WINDOWS_SDK\\bin%;%PATH%\n" + - " set INCLUDE=%CPP_WINDOWS_SDK\\Include%;%INCLUDE%\n" + + " set PATH=%CPP_WINDOWS_SDK%\\bin;%PATH%\n" + + " set INCLUDE=%CPP_WINDOWS_SDK%\\Include;%INCLUDE%\n" + ")\n" + "REM Add directory of the C# and VB.NET compilers to the path, if necessary.\n" + "if defined OO_SDK_CLI_HOME set PATH=%OO_SDK_CLI_HOME%;%PATH%\n" + -- cgit