diff options
author | Doug Goldstein <cardoe@gentoo.org> | 2010-07-10 06:02:59 +0000 |
---|---|---|
committer | Doug Goldstein <cardoe@gentoo.org> | 2010-07-10 06:02:59 +0000 |
commit | ec2f1f6ca9638031673a9a199b4e2dc9aa88c84c (patch) | |
tree | dd26730c17a7aa5bf374cce87b4b1e8d6644ead5 /eclass/eutils.eclass | |
parent | Version bump. (diff) | |
download | gentoo-2-ec2f1f6ca9638031673a9a199b4e2dc9aa88c84c.tar.gz gentoo-2-ec2f1f6ca9638031673a9a199b4e2dc9aa88c84c.tar.bz2 gentoo-2-ec2f1f6ca9638031673a9a199b4e2dc9aa88c84c.zip |
Fix bug in cdrom_get_cds() identified by Jared <nitro@legroom.net> when using multiple CDs. bug #327549. Also found a minor typo and fixed that.
Diffstat (limited to 'eclass/eutils.eclass')
-rw-r--r-- | eclass/eutils.eclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass index 5bc2c72a3809..83d1a390a85a 100644 --- a/eclass/eutils.eclass +++ b/eclass/eutils.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.345 2010/06/23 21:24:50 cardoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.346 2010/07/10 06:02:59 cardoe Exp $ # @ECLASS: eutils.eclass # @MAINTAINER: @@ -1512,7 +1512,7 @@ cdrom_get_cds() { export CDROM_SET=-1 for f in ${CDROM_CHECK_1//:/ } ; do ((++CDROM_SET)) - [[ -e ${CD_ROOT}/${f} ]] && break + [[ -e ${CDROM_ROOT}/${f} ]] && break done export CDROM_MATCH=${f} return @@ -1552,7 +1552,7 @@ cdrom_get_cds() { einfo "If you do not have the CDs, but have the data files" einfo "mounted somewhere on your filesystem, just export" einfo "the following variables so they point to the right place:" - einfon "" + einfo "" cdcnt=0 while [[ ${cdcnt} -lt ${CDROM_TOTAL_CDS} ]] ; do ((++cdcnt)) |