Fix .NET detection on 32bit platform
Change-Id: I5eaa098d1de6b57245aca7bba2274139e60ba402 Reviewed-on: https://gerrit.libreoffice.org/23159 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Ostrovsky <david@ostrovsky.org>
This commit is contained in:
@@ -5279,13 +5279,17 @@ find_dotnetsdk46()
|
|||||||
{
|
{
|
||||||
unset frametest
|
unset frametest
|
||||||
|
|
||||||
for ver in 4.6; do
|
for ver in 4.6.1 4.6; do
|
||||||
# TODO(davido): Do we need to take care about 32bit?
|
|
||||||
reg_get_value_64 "HKEY_LOCAL_MACHINE/SOFTWARE/Wow6432Node/Microsoft/Microsoft SDKs/NETFXSDK/$ver/KitsInstallationFolder"
|
reg_get_value_64 "HKEY_LOCAL_MACHINE/SOFTWARE/Wow6432Node/Microsoft/Microsoft SDKs/NETFXSDK/$ver/KitsInstallationFolder"
|
||||||
if test -n "$regvalue"; then
|
if test -n "$regvalue"; then
|
||||||
frametest=$regvalue
|
frametest=$regvalue
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
reg_get_value_32 "HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Microsoft SDKs/NETFXSDK/$ver/KitsInstallationFolder"
|
||||||
|
if test -n "$regvalue"; then
|
||||||
|
frametest=$regvalue
|
||||||
|
return
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user