summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2010-07-10 06:02:59 +0000
committerDoug Goldstein <cardoe@gentoo.org>2010-07-10 06:02:59 +0000
commit701f8d9436847dfd69ca57cc758323ee4359d01b (patch)
treed09abd2780e3f6998f15536da18308d81e84b114 /eclass
parentVersion bump. (diff)
downloadhistorical-701f8d9436847dfd69ca57cc758323ee4359d01b.tar.gz
historical-701f8d9436847dfd69ca57cc758323ee4359d01b.tar.bz2
historical-701f8d9436847dfd69ca57cc758323ee4359d01b.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')
-rw-r--r--eclass/eutils.eclass6
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))