summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-06-07 22:49:54 +0000
committerMike Frysinger <vapier@gentoo.org>2005-06-07 22:49:54 +0000
commitbde697f29ab112f9915b185abc28e59ab53c2360 (patch)
tree4786de1cbc0dd0ba2128412ed07b7d74dd5afac3 /sys-devel
parentupdate digest *again* #95367 (diff)
downloadgentoo-2-bde697f29ab112f9915b185abc28e59ab53c2360.tar.gz
gentoo-2-bde697f29ab112f9915b185abc28e59ab53c2360.tar.bz2
gentoo-2-bde697f29ab112f9915b185abc28e59ab53c2360.zip
tweak for gcc-4 beta
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'sys-devel')
-rwxr-xr-xsys-devel/gcc-config/files/gcc-config-1.3.116
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)