diff options
author | Florian Schmaus <flow@gentoo.org> | 2022-06-28 13:11:07 +0200 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2022-06-28 13:11:46 +0200 |
commit | 0d27cfb7da7fdd62b72a34998eca57c164afedfd (patch) | |
tree | 0919306397fe665686ac95b3d95526716f5d9e18 /www-client | |
parent | sys-process/systemd-cron: Keyword 1.5.18 ia64, #845147 (diff) | |
download | gentoo-0d27cfb7da7fdd62b72a34998eca57c164afedfd.tar.gz gentoo-0d27cfb7da7fdd62b72a34998eca57c164afedfd.tar.bz2 gentoo-0d27cfb7da7fdd62b72a34998eca57c164afedfd.zip |
www-client/chromium: fix java detection
Older java versions, e.g., from Java 8, have only '-version', not
'--version'. Commited as requested by sam.
Closes: https://bugs.gentoo.org/854822
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/chromium/chromium-103.0.5060.53.ebuild | 2 | ||||
-rw-r--r-- | www-client/chromium/chromium-104.0.5112.12.ebuild | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/www-client/chromium/chromium-103.0.5060.53.ebuild b/www-client/chromium/chromium-103.0.5060.53.ebuild index 6912dfb1e8af..5b22ba929a25 100644 --- a/www-client/chromium/chromium-103.0.5060.53.ebuild +++ b/www-client/chromium/chromium-103.0.5060.53.ebuild @@ -247,7 +247,7 @@ pre_build_checks() { fi fi if use js-type-check; then - "${EPREFIX}"/usr/bin/java --version 2>1 > /dev/null || die "Java VM not setup correctly" + "${EPREFIX}"/usr/bin/java -version 2>1 > /dev/null || die "Java VM not setup correctly" fi fi diff --git a/www-client/chromium/chromium-104.0.5112.12.ebuild b/www-client/chromium/chromium-104.0.5112.12.ebuild index 82f9045bb733..2e826d7e3f0a 100644 --- a/www-client/chromium/chromium-104.0.5112.12.ebuild +++ b/www-client/chromium/chromium-104.0.5112.12.ebuild @@ -257,7 +257,7 @@ pre_build_checks() { fi fi if use js-type-check; then - "${EPREFIX}"/usr/bin/java --version 2>1 > /dev/null || die "Java VM not setup correctly" + "${EPREFIX}"/usr/bin/java -version 2>1 > /dev/null || die "Java VM not setup correctly" fi fi |