configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 62bfd24503d406a2a28f03af58110a4972a5ccf2 Author: Tomáš Chvátal <tchva...@suse.com> Date: Wed Jun 6 13:48:52 2018 +0200
Fix calculations about version for java This solves problem where java prints ton of warnings about too many CPUs which turned out to empty lines that are now ommited by the added sed command. Change-Id: I552f40289e1d598f11f98509b9e9b0b867336c3b Reviewed-on: https://gerrit.libreoffice.org/55377 Tested-by: Jenkins Reviewed-by: Tomáš Chvátal <tchva...@suse.cz> diff --git a/configure.ac b/configure.ac index 7848658978f2..8955729e2328 100644 --- a/configure.ac +++ b/configure.ac @@ -6853,7 +6853,7 @@ you must use the "--with-jdk-home" configure option explicitly]) JDK=sun dnl Sun JDK specific tests - _jdk=`$JAVAINTERPRETER -version 2>&1 | $AWK -F'"' '{ print \$2 }' | $SED s/[[-A-Za-z]]*//` + _jdk=`$JAVAINTERPRETER -version 2>&1 | $AWK -F'"' '{ print \$2 }' | $SED '/^$/d' | $SED s/[[-A-Za-z]]*//` _jdk_ver=`echo "$_jdk" | $AWK -F. '{ print (($1 * 100) + $2) * 100 + $3;}'` if test "$_jdk_ver" -lt 10600; then _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits