diff options
author | Mike Frysinger <vapier@gentoo.org> | 2014-10-17 00:05:01 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2014-10-17 00:05:01 -0400 |
commit | a899f18da2a22db25019fe1b2efa6b239e372b32 (patch) | |
tree | 50d8184caf93d5d8c6d1b262c613f1d040152e05 | |
parent | layout.conf: set repo-name (diff) | |
download | toolchain-a899f18da2a22db25019fe1b2efa6b239e372b32.tar.gz toolchain-a899f18da2a22db25019fe1b2efa6b239e372b32.tar.bz2 toolchain-a899f18da2a22db25019fe1b2efa6b239e372b32.zip |
update-gcc: handle gcc-5.x snapshots
-rwxr-xr-x | scripts/update-gcc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/update-gcc b/scripts/update-gcc index 1d4d126..a84f724 100755 --- a/scripts/update-gcc +++ b/scripts/update-gcc @@ -37,7 +37,7 @@ for e in ${ebuilds} ; do done # Then load new ones. -majors=$(awk '$(NF-2) ~ /^LATEST-/ { print gensub("LATEST-", "", "", $(NF-2)) }' ${l}) +majors=$(awk '$(NF-2) ~ /^LATEST-/ { print gensub("LATEST-", "", "", $(NF-2)) }' ${l} | sort -V) echo "${PN} majors:" ${majors} lm= |