diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-06-07 22:49:54 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-06-07 22:49:54 +0000 |
commit | 06d19e68a75a0af80e5643c0f79635b6fdd7714d (patch) | |
tree | cb04f2c7ba17b80d9a13b37ce520acfce8eb1c6f /sys-devel/gcc-config/files | |
parent | update digest *again* #95367 (diff) | |
download | historical-06d19e68a75a0af80e5643c0f79635b6fdd7714d.tar.gz historical-06d19e68a75a0af80e5643c0f79635b6fdd7714d.tar.bz2 historical-06d19e68a75a0af80e5643c0f79635b6fdd7714d.zip |
tweak for gcc-4 beta
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'sys-devel/gcc-config/files')
-rwxr-xr-x | sys-devel/gcc-config/files/gcc-config-1.3.11 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys-devel/gcc-config/files/gcc-config-1.3.11 b/sys-devel/gcc-config/files/gcc-config-1.3.11 index af4c8a1f2380..2808256203bf 100755 --- a/sys-devel/gcc-config/files/gcc-config-1.3.11 +++ b/sys-devel/gcc-config/files/gcc-config-1.3.11 @@ -1,7 +1,7 @@ #!/bin/bash # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-config/files/gcc-config-1.3.11,v 1.3 2005/06/07 22:42:28 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-config/files/gcc-config-1.3.11,v 1.4 2005/06/07 22:49:54 vapier Exp $ trap ":" INT QUIT TSTP @@ -536,7 +536,9 @@ chop_gcc_ver() { if ($i ~ /^[[:digit:].]+$/) { gccver=$i"-"gccver foundver=1 - } else if (foundver == 1) + } else if (foundver == 0) + gccver=$i"-"gccver + else break } print substr(gccver,0,length(gccver)-1) |