configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) New commits: commit c13fd446d1e095c19e8511d1bd176edc152f2499 Author: Tor Lillqvist <t...@collabora.com> AuthorDate: Sun Oct 25 23:23:18 2020 +0200 Commit: Tor Lillqvist <t...@collabora.com> CommitDate: Mon Oct 26 07:27:16 2020 +0100
Don't ever display harmless error messages from wsl-lo-helper It is expected that some of the Registry entries that we try to read do not exist. Change-Id: I48b40cd6a3cf0961abd7259ad02da18c2ee65601 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104787 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <t...@collabora.com> diff --git a/configure.ac b/configure.ac index a6696df15f06..538112160235 100644 --- a/configure.ac +++ b/configure.ac @@ -3554,7 +3554,7 @@ reg_get_value() unset regvalue if test "$build_os" = "wsl"; then - regvalue=$($BUILDDIR/solenv/wsl/wsl-lo-helper.exe --read-registry $1 "$2") + regvalue=$($BUILDDIR/solenv/wsl/wsl-lo-helper.exe --read-registry $1 "$2" 2>/dev/null) return fi @@ -3917,7 +3917,7 @@ if test "$_os" = "WINNT"; then AC_MSG_CHECKING([for MSBuild.exe location for: $vcnumwithdot]) # Find the proper version of MSBuild.exe to use based on the VS version - reg_get_value_32 HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/MSBuild/$vcnumwithdot/MSBuildOverrideTasksPath 2>/dev/null + reg_get_value_32 HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/MSBuild/$vcnumwithdot/MSBuildOverrideTasksPath if test -n "$regvalue" ; then AC_MSG_RESULT([found: $regvalue]) MSBUILD_PATH=`win_short_path_for_make "$regvalue"` _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits