summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@novell.com>2011-06-27 18:18:39 +0300
committerTor Lillqvist <tlillqvist@novell.com>2011-06-27 18:18:47 +0300
commit4f67860e2c0d3ed73bddd1d1c98514cf7d671365 (patch)
tree6e3f62a84034f444e46bc5cc4545316d54c37c5c
parent194da0076d3b4a6968496261fd2eaca9e8e955f9 (diff)
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...
-rw-r--r--odk/cfgWin.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/odk/cfgWin.js b/odk/cfgWin.js
index 398599dd..961f15ae 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" +