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
commitc6ee546e38d75c734a73728ee57a71ce52870d78 (patch)
treec053d311e2840e0a1f7f8ec1eaf30eecf6266cf1 /oowintool
parente64c02f061d711e27fdaac75efec5339ded942ba (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 89762d675b24..d84cc6d99783 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`;
}