/[gentoo-x86]/eclass/eutils.eclass
Gentoo

Diff of /eclass/eutils.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.263 Revision 1.264
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.263 2006/11/13 20:58:41 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.264 2006/11/14 12:04:48 uberlord 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!
1400 local dir=$(dirname ${cdset[${i}]}) 1400 local dir=$(dirname ${cdset[${i}]})
1401 local file=$(basename ${cdset[${i}]}) 1401 local file=$(basename ${cdset[${i}]})
1402 1402
1403 local point= node= fs= foo= 1403 local point= node= fs= foo=
1404 while read point node fs foo ; do 1404 while read point node fs foo ; do
1405 [[ *" ${fs} "* != " cd9660 iso9660 " ]] && continue 1405 [[ " cd9660 iso9660 " != *" ${fs} "* ]] && \
1406 ! [[ ${fs} == "subfs" && ",${opts}," == *",fs=cdfss,"* ]] \
1407 && continue
1406 point=${point//\040/ } 1408 point=${point//\040/ }
1407 [[ -z $(find "${point}/${dir}" -maxdepth 1 -iname "${file}") ]] && continue 1409 [[ -z $(find "${point}/${dir}" -maxdepth 1 -iname "${file}") ]] && continue
1408 export CDROM_ROOT=${point} 1410 export CDROM_ROOT=${point}
1409 export CDROM_SET=${i} 1411 export CDROM_SET=${i}
1410 export CDROM_MATCH=${cdset[${i}]} 1412 export CDROM_MATCH=${cdset[${i}]}

Legend:
Removed from v.1.263  
changed lines
  Added in v.1.264

  ViewVC Help
Powered by ViewVC 1.1.20