summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2022-02-22 19:08:38 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2022-02-23 10:17:52 +0100
commit12f5466fe2064a979ff531d1bd1d71d046161ca0 (patch)
tree7ffc88e1dcd63e12a00a99c31ca630e859ed26df /dev-java
parentdev-java/cglib: Fix syntax error (diff)
downloadgentoo-12f5466fe2064a979ff531d1bd1d71d046161ca0.tar.gz
gentoo-12f5466fe2064a979ff531d1bd1d71d046161ca0.tar.bz2
gentoo-12f5466fe2064a979ff531d1bd1d71d046161ca0.zip
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@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/24319 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/jackson-dataformat-xml/jackson-dataformat-xml-2.13.0.ebuild2
1 files changed, 1 insertions, 1 deletions
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