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

Diff of /eclass/eutils.eclass

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

Revision 1.280 Revision 1.281
1# Copyright 1999-2006 Gentoo Foundation 1# Copyright 1999-2007 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.280 2007/05/05 07:52:26 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.281 2007/06/05 15:59:26 nyhm 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!
1458 local dir=$(dirname ${cdset[${i}]}) 1458 local dir=$(dirname ${cdset[${i}]})
1459 local file=$(basename ${cdset[${i}]}) 1459 local file=$(basename ${cdset[${i}]})
1460 1460
1461 local point= node= fs= foo= 1461 local point= node= fs= foo=
1462 while read point node fs foo ; do 1462 while read point node fs foo ; do
1463 [[ " cd9660 iso9660 " != *" ${fs} "* ]] && \ 1463 [[ " cd9660 iso9660 udf " != *" ${fs} "* ]] && \
1464 ! [[ ${fs} == "subfs" && ",${opts}," == *",fs=cdfss,"* ]] \ 1464 ! [[ ${fs} == "subfs" && ",${opts}," == *",fs=cdfss,"* ]] \
1465 && continue 1465 && continue
1466 point=${point//\040/ } 1466 point=${point//\040/ }
1467 [[ -z $(find "${point}/${dir}" -maxdepth 1 -iname "${file}") ]] && continue 1467 [[ -z $(find "${point}/${dir}" -maxdepth 1 -iname "${file}") ]] && continue
1468 export CDROM_ROOT=${point} 1468 export CDROM_ROOT=${point}

Legend:
Removed from v.1.280  
changed lines
  Added in v.1.281

  ViewVC Help
Powered by ViewVC 1.1.20