[Libreoffice-commits] .: oowintool
Tor Lillqvist
tml at kemper.freedesktop.org
Mon Mar 14 04:05:15 PDT 2011
oowintool | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
New commits:
commit ca448fbaf0b18edcfc809fcabcbcac51bb32f3b7
Author: Tor Lillqvist <tlillqvist at novell.com>
Date: Mon Mar 14 13:03:33 2011 +0200
Prefer .NET 4, do not bother with .NET 2
diff --git a/oowintool b/oowintool
index cec0baa..1c48a1d 100755
--- a/oowintool
+++ b/oowintool
@@ -207,9 +207,8 @@ sub print_msvs_productdir()
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`;
+ my $csc_exe = `/bin/find "$dir" -iname csc.exe | grep "v4\." | head -n 1` ||
+ `/bin/find "$dir" -iname csc.exe | grep "v3\.5\." | head -n 1`;
print `dirname $csc_exe`;
}
More information about the Libreoffice-commits
mailing list