| 1 | # Copyright 1999-2006 Gentoo Foundation |
1 | # Copyright 1999-2006 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.259 2006/11/10 15:56:58 uberlord Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.260 2006/11/11 14:51:47 kanaka Exp $ |
| 4 | # |
4 | # |
| 5 | # This eclass is for general purpose functions that most ebuilds |
5 | # This eclass is for general purpose functions that most ebuilds |
| 6 | # have to implement themselves. |
6 | # have to implement themselves. |
| 7 | # |
7 | # |
| 8 | # NB: If you add anything, please comment it! |
8 | # NB: If you add anything, please comment it! |
| … | |
… | |
| 1411 | [[ -z $(find "${point}/${dir}" -maxdepth 1 -iname "${file}") ]] && continue |
1411 | [[ -z $(find "${point}/${dir}" -maxdepth 1 -iname "${file}") ]] && continue |
| 1412 | export CDROM_ROOT=${point} |
1412 | export CDROM_ROOT=${point} |
| 1413 | export CDROM_SET=${i} |
1413 | export CDROM_SET=${i} |
| 1414 | export CDROM_MATCH=${cdset[${i}]} |
1414 | export CDROM_MATCH=${cdset[${i}]} |
| 1415 | return |
1415 | return |
| 1416 | done < <(get_mounts) |
1416 | done < $(get_mounts) |
| 1417 | |
1417 | |
| 1418 | ((++i)) |
1418 | ((++i)) |
| 1419 | done |
1419 | done |
| 1420 | |
1420 | |
| 1421 | echo |
1421 | echo |