summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-02-12 02:00:46 +0000
committerMike Frysinger <vapier@gentoo.org>2004-02-12 02:00:46 +0000
commit4843d3a8dea7e4e57dcc2e4857fb904779a60ac5 (patch)
treeba94459878ac4c9e0ce5215a7a53ffd85a0d276d /eclass/eutils.eclass
parentSRC_URI changed (diff)
downloadhistorical-4843d3a8dea7e4e57dcc2e4857fb904779a60ac5.tar.gz
historical-4843d3a8dea7e4e57dcc2e4857fb904779a60ac5.tar.bz2
historical-4843d3a8dea7e4e57dcc2e4857fb904779a60ac5.zip
fix for CD_ROOT when using multiple cds
Diffstat (limited to 'eclass/eutils.eclass')
-rw-r--r--eclass/eutils.eclass7
1 files changed, 6 insertions, 1 deletions
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass
index 28c829ff6ef6..c343a8398cf3 100644
--- a/eclass/eutils.eclass
+++ b/eclass/eutils.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.78 2004/02/09 17:08:44 brad_mssw Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.79 2004/02/12 02:00:46 vapier Exp $
#
# Author: Martin Schlemmer <azarah@gentoo.org>
#
@@ -1102,6 +1102,11 @@ cdrom_load_next_cd() {
export CDROM_CURRENT_CD=$((CDROM_CURRENT_CD + 1))
local var=
+ if [ ! -z "${CD_ROOT}" ] ; then
+ einfo "Using same root as before for CD #${CDROM_CURRENT_CD}"
+ return
+ fi
+
unset CDROM_ROOT
var=CDROM_ROOTS_${CDROM_CURRENT_CD}
if [ -z "${!var}" ] ; then