summaryrefslogtreecommitdiff
path: root/oowintool
diff options
context:
space:
mode:
authorJesús Corrius <jesus@softcatala.org>2010-10-29 13:25:21 +0200
committerJesús Corrius <jesus@softcatala.org>2010-10-29 13:25:21 +0200
commit67216b4f882eb2d3020f64239790413cfd95b08b (patch)
tree24455d4bf2e4447c7782660359ef060dc96d09e0 /oowintool
parentd3a108e34fce9f11ec0d2e35d9628aacf61e690f (diff)
oowintool should find .NET Framework 4.0 too
Diffstat (limited to 'oowintool')
-rwxr-xr-xoowintool1
1 files changed, 1 insertions, 0 deletions
diff --git a/oowintool b/oowintool
index 89762d675..d84cc6d99 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`;
}