summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-04-07 06:05:41 +0000
committerMike Frysinger <vapier@gentoo.org>2005-04-07 06:05:41 +0000
commit958906b083a09be859e1892b3fbcfdfb258e375d (patch)
tree91803cab14e9010d4da1d26394fddf31e84fcbce /eclass/toolchain.eclass
parentAdded new snapshot and mirror it on Gentoo distfiles server. This closes bug ... (diff)
downloadgentoo-2-958906b083a09be859e1892b3fbcfdfb258e375d.tar.gz
gentoo-2-958906b083a09be859e1892b3fbcfdfb258e375d.tar.bz2
gentoo-2-958906b083a09be859e1892b3fbcfdfb258e375d.zip
dont set BRANCH_UPDATE if ebuild set it to empty string
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r--eclass/toolchain.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index dbea2b5aad83..639ec13e89fc 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.140 2005/04/07 04:46:48 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.141 2005/04/07 06:05:41 vapier Exp $
HOMEPAGE="http://www.gnu.org/software/gcc/gcc.html"
LICENSE="GPL-2 LGPL-2.1"
@@ -62,7 +62,7 @@ GCC_BRANCH_VER=$(get_version_component_range 1-2)
GCCMAJOR=$(get_version_component_range 1)
GCCMINOR=$(get_version_component_range 2)
GCCMICRO=$(get_version_component_range 3)
-[[ -z ${BRANCH_UPDATE} ]] && BRANCH_UPDATE=$(get_version_component_range 4)
+[[ ${BRANCH_UPDATE-notset} == "notset" ]] && BRANCH_UPDATE=$(get_version_component_range 4)
# According to gcc/c-cppbuiltin.c, GCC_CONFIG_VER MUST match this regex.
# ([^0-9]*-)?[0-9]+[.][0-9]+([.][0-9]+)?([- ].*)?