commit: 51f54e80e4264a8f067ac148ae84563cecb19ad6 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> AuthorDate: Fri Sep 16 16:17:47 2022 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Fri Sep 16 16:20:04 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51f54e80
www-client/firefox: adjust the rust check in 102 to ignore -nightly Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> www-client/firefox/firefox-102.2.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www-client/firefox/firefox-102.2.0.ebuild b/www-client/firefox/firefox-102.2.0.ebuild index 9e0b2260a47a..eead7ebd749a 100644 --- a/www-client/firefox/firefox-102.2.0.ebuild +++ b/www-client/firefox/firefox-102.2.0.ebuild @@ -460,7 +460,7 @@ pkg_setup() { fi fi - if ver_test $(rustc -V | cut -d" " -f2) -ge "1.63"; then + if ver_test $(rustc -V | tr -cd '[0-9.]' | cut -d" " -f2) -ge "1.63"; then ewarn "Rust-1.63 is currently unsupported for building Firefox-102." ewarn "Please use 'eselect rust' to switch to a lower version, then resume" ewarn "building Firefox."