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

Diff of /eclass/eutils.eclass

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

Revision 1.208 Revision 1.209
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2005 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.208 2005/10/19 03:36:15 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.209 2005/10/19 03:37:16 vapier Exp $
4# 4#
5# Author: Martin Schlemmer <azarah@gentoo.org> 5# Author: Martin Schlemmer <azarah@gentoo.org>
6# 6#
7# This eclass is for general purpose functions that most ebuilds 7# This eclass is for general purpose functions that most ebuilds
8# have to implement themselves. 8# have to implement themselves.
1365 local dir=$(dirname "$*") 1365 local dir=$(dirname "$*")
1366 local file=$(basename "$*") 1366 local file=$(basename "$*")
1367 local mline="" 1367 local mline=""
1368 local showedmsg=0 1368 local showedmsg=0
1369 1369
1370 for mline in $(mount | egrep -e '(iso|cdrom)' | awk '{print $3}') ; do 1370 for mline in $(mount | egrep -e '(iso|cdrom|fs=cdfss)' | awk '{print $3}') ; do
1371 [[ -d ${mline}/${dir} ]] || continue 1371 [[ -d ${mline}/${dir} ]] || continue
1372 [[ ! -z $(find ${mline}/${dir} -maxdepth 1 -iname ${file}) ]] \ 1372 [[ ! -z $(find ${mline}/${dir} -maxdepth 1 -iname ${file}) ]] \
1373 && export CDROM_ROOT=${mline} 1373 && export CDROM_ROOT=${mline}
1374 done 1374 done
1375 1375

Legend:
Removed from v.1.208  
changed lines
  Added in v.1.209

  ViewVC Help
Powered by ViewVC 1.1.20