summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2022-09-16 19:19:02 +0300
committerJoonas Niilola <juippis@gentoo.org>2022-09-16 19:20:04 +0300
commit23a11e3dbb17d53b1ed126b63c3eeeca7e179394 (patch)
treee289f60ba7775506ad8ab53b2b028fc315192ba4 /mail-client
parentwww-client/firefox: adjust the rust check in 102 to ignore -nightly (diff)
downloadgentoo-23a11e3dbb17d53b1ed126b63c3eeeca7e179394.tar.gz
gentoo-23a11e3dbb17d53b1ed126b63c3eeeca7e179394.tar.bz2
gentoo-23a11e3dbb17d53b1ed126b63c3eeeca7e179394.zip
mail-client/thunderbird: adjust rust check in 102 to ignore -nightly
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'mail-client')
-rw-r--r--mail-client/thunderbird/thunderbird-102.2.2-r1.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail-client/thunderbird/thunderbird-102.2.2-r1.ebuild b/mail-client/thunderbird/thunderbird-102.2.2-r1.ebuild
index 8de2284563ba..22f94de4ff0a 100644
--- a/mail-client/thunderbird/thunderbird-102.2.2-r1.ebuild
+++ b/mail-client/thunderbird/thunderbird-102.2.2-r1.ebuild
@@ -416,7 +416,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 Thunderbird-102."
ewarn "Please use 'eselect rust' to switch to a lower version, then resume"
ewarn "building Thunderbird."