summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2005-05-04 22:06:36 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2005-05-04 22:06:36 +0000
commitff288c9af664f8f4686c5c6f98335e5ee7c50c4b (patch)
treeaa799093a5c4175f188ad2892049bf58dded88fb /eclass
parentcolorize gnome TERM (diff)
downloadgentoo-2-ff288c9af664f8f4686c5c6f98335e5ee7c50c4b.tar.gz
gentoo-2-ff288c9af664f8f4686c5c6f98335e5ee7c50c4b.tar.bz2
gentoo-2-ff288c9af664f8f4686c5c6f98335e5ee7c50c4b.zip
Moved -maxdepth 1 before -iname to remove warning and closing bug #91410.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/eutils.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass
index 1b4539cd61c5..1ae7a4579607 100644
--- a/eclass/eutils.eclass
+++ b/eclass/eutils.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.168 2005/04/29 03:59:15 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.169 2005/05/04 22:06:36 wolf31o2 Exp $
#
# Author: Martin Schlemmer <azarah@gentoo.org>
#
@@ -1473,7 +1473,7 @@ cdrom_locate_file_on_cd() {
for mline in $(mount | egrep -e '(iso|cdrom)' | awk '{print $3}') ; do
[[ -d ${mline}/${dir} ]] || continue
- [[ ! -z $(find ${mline}/${dir} -iname ${file} -maxdepth 1) ]] \
+ [[ ! -z $(find ${mline}/${dir} -maxdepth 1 -iname ${file}) ]] \
&& export CDROM_ROOT=${mline}
done