diff options
author | Tor Lillqvist <tlillqvist@novell.com> | 2011-03-14 13:03:33 +0200 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@novell.com> | 2011-03-14 13:03:33 +0200 |
commit | 8d5bd747ed9ecc6988a2678628e5e9d8c6509dc3 (patch) | |
tree | 37623abfb3f5f6913d982913436f4aa00a6d15a5 /oowintool | |
parent | Let's try preferring MSVS2010/MSVC2010 (diff) | |
download | core-8d5bd747ed9ecc6988a2678628e5e9d8c6509dc3.tar.gz core-8d5bd747ed9ecc6988a2678628e5e9d8c6509dc3.zip |
Prefer .NET 4, do not bother with .NET 2
Diffstat (limited to 'oowintool')
-rwxr-xr-x | oowintool | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/oowintool b/oowintool index cec0baa7e129..1c48a1d9e86c 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`; } |