commit:     5cdf1fee959700fd0ce38e7e57a324f77ae4a2bc
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 24 05:26:37 2014 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Fri Oct 24 05:26:37 2014 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=proj/toolchain.git;a=commit;h=5cdf1fee

gcc: handle gcc-5.x

---
 scripts/update-gcc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/update-gcc b/scripts/update-gcc
index a84f724..2fa5412 100755
--- a/scripts/update-gcc
+++ b/scripts/update-gcc
@@ -51,6 +51,8 @@ for m in ${majors} ; do
                        exit 1
                fi
        fi
+       # Pad out to 2 versions if the listing doesn't have it.
+       [[ ${m} != *.* ]] && m+=".0"
        echo "### ${m}: ${curr}"
        for s in ${snaps} ; do
                s="${PN}-${m}.0_alpha${s}.ebuild"

Reply via email to