[Libreoffice-commits] .: odk/cfgWin.js

Tor Lillqvist tml at kemper.freedesktop.org
Mon Jun 27 08:21:31 PDT 2011


 odk/cfgWin.js |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 4f67860e2c0d3ed73bddd1d1c98514cf7d671365
Author: Tor Lillqvist <tlillqvist at novell.com>
Date:   Mon Jun 27 18:18:39 2011 +0300

    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...

diff --git a/odk/cfgWin.js b/odk/cfgWin.js
index 398599d..961f15a 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" + 


More information about the Libreoffice-commits mailing list