summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2021-11-24 15:41:27 +0100
committerDavid Seifert <soap@gentoo.org>2021-11-24 15:41:27 +0100
commit5df50acbe857f44408215ebd902df0af36c0717f (patch)
tree8ce38e1d2a1554b4eb2e086b07628e2bc1c49053 /eclass/toolchain.eclass
parentmedia-fonts/mplus-fonts: mark ALLARCHES (diff)
downloadgentoo-5df50acbe857f44408215ebd902df0af36c0717f.tar.gz
gentoo-5df50acbe857f44408215ebd902df0af36c0717f.tar.bz2
gentoo-5df50acbe857f44408215ebd902df0af36c0717f.zip
toolchain.eclass: switch snapshot prefix _alpha → _p
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r--eclass/toolchain.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 852d65add7c5..720b227b9c44 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -90,11 +90,11 @@ GCC_CONFIG_VER=${GCC_RELEASE_VER}
# Pre-release support. Versioning schema:
# 1.0.0_pre9999: live ebuild
-# 1.2.3_alphaYYYYMMDD: weekly snapshots
+# 1.2.3_pYYYYMMDD: weekly snapshots
# 1.2.3_rcYYYYMMDD: release candidates
-if [[ ${GCC_PV} == *_alpha* ]] ; then
+if [[ ${GCC_PV} == *_p* ]] ; then
# weekly snapshots
- SNAPSHOT=${GCCMAJOR}-${GCC_PV##*_alpha}
+ SNAPSHOT=${GCCMAJOR}-${GCC_PV##*_p}
elif [[ ${GCC_PV} == *_rc* ]] ; then
# release candidates
SNAPSHOT=${GCC_PV%_rc*}-RC-${GCC_PV##*_rc}