[Libreoffice-commits] .: oowintool

Jesús Corrius jcorrius at kemper.freedesktop.org
Fri Oct 29 04:27:41 PDT 2010


 oowintool |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 67216b4f882eb2d3020f64239790413cfd95b08b
Author: Jesús Corrius <jesus at softcatala.org>
Date:   Fri Oct 29 13:25:21 2010 +0200

    oowintool should find .NET Framework 4.0 too

diff --git a/oowintool b/oowintool
index 89762d6..d84cc6d 100755
--- a/oowintool
+++ b/oowintool
@@ -215,6 +215,7 @@ sub print_csc_compiler_dir()
 {
     my $dir = cygpath (reg_get_value ("HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/.NETFramework/InstallRoot"), 'w', $output_format);
     my $csc_exe = `/bin/find "$dir" -iname csc.exe | grep "v3\.5\." | head -n 1` ||
+                  `/bin/find "$dir" -iname csc.exe | grep "v4\." | head -n 1` ||
                   `/bin/find "$dir" -iname csc.exe | grep "v2\." | head -n 1`;
     print `dirname $csc_exe`;
 }


More information about the Libreoffice-commits mailing list