commit:     12f5466fe2064a979ff531d1bd1d71d046161ca0
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Tue Feb 22 18:08:38 2022 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Wed Feb 23 09:17:52 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12f5466f

dev-java/jackson-dataformat-xml: Fix syntax error

Error was:
/var/tmp/portage/dev-java/jackson-dataformat-xml-2.13.0/temp/environment: line
2394: [[: 1.8: syntax error: invalid arithmetic operator (error token is ".8")

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/24319
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-java/jackson-dataformat-xml/jackson-dataformat-xml-2.13.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/dev-java/jackson-dataformat-xml/jackson-dataformat-xml-2.13.0.ebuild 
b/dev-java/jackson-dataformat-xml/jackson-dataformat-xml-2.13.0.ebuild
index 15d216b6bcdc..00527219be1e 100644
--- a/dev-java/jackson-dataformat-xml/jackson-dataformat-xml-2.13.0.ebuild
+++ b/dev-java/jackson-dataformat-xml/jackson-dataformat-xml-2.13.0.ebuild
@@ -103,7 +103,7 @@ src_test() {
        # java.util.LinkedList.first accessible: module java.base does not 
"opens java.util" to unnamed module @42bb2aee
 
        local vm_version="$(java-config -g PROVIDES_VERSION)"
-       if [[ "${vm_version}" -ge "17" ]] ; then
+       if ver_test "${vm_version}" -ge "17" ; then
                JAVA_TEST_EXTRA_ARGS+=( 
--add-opens=java.base/java.util=ALL-UNNAMED )
        fi
 

Reply via email to