configure.ac | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit d384d6f3c52a909a6e8e444963e954ea49050875
Author: Tor Lillqvist <[email protected]>
AuthorDate: Sun Oct 25 11:49:43 2020 +0200
Commit: Tor Lillqvist <[email protected]>
CommitDate: Sun Oct 25 13:09:46 2020 +0100
Use wsl-lo-helper to read a Registry value
Change-Id: Ie006ed818e91e5cd4869fabb1b8fa9bcf0da943f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104768
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <[email protected]>
diff --git a/configure.ac b/configure.ac
index 985bfb0eb68f..74911610a3e4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3531,6 +3531,11 @@ reg_get_value()
# Return value: $regvalue
unset regvalue
+ if test "$build_os" = "wsl"; then
+ regvalue=$($BUILDDIR/solenv/wsl/wsl-lo-helper.exe --read-registry $1
"$2")
+ return
+ fi
+
local _regentry="/proc/registry${1}/${2}"
if test -f "$_regentry"; then
# Stop bash complaining about \0 bytes in input, as it can't handle
them.
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits