summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-05-29 03:20:14 +0000
committerMike Frysinger <vapier@gentoo.org>2005-05-29 03:20:14 +0000
commit5e2d3ad039d06c3493461d9c424c2cf5f7e42435 (patch)
tree0936c93ac49d936d92e72cb2953132ed2636e817 /eclass
parentVersion bumped. (diff)
downloadgentoo-2-5e2d3ad039d06c3493461d9c424c2cf5f7e42435.tar.gz
gentoo-2-5e2d3ad039d06c3493461d9c424c2cf5f7e42435.tar.bz2
gentoo-2-5e2d3ad039d06c3493461d9c424c2cf5f7e42435.zip
put the maxdepth option first so find doesnt complain
Diffstat (limited to 'eclass')
-rw-r--r--eclass/db.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/db.eclass b/eclass/db.eclass
index faa9e5305abb..6562327a2888 100644
--- a/eclass/db.eclass
+++ b/eclass/db.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/db.eclass,v 1.15 2005/03/24 15:03:36 pauldv Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/db.eclass,v 1.16 2005/05/29 03:20:14 vapier Exp $
# This is a common location for functions used in the sys-libs/db ebuilds
ECLASS=db
@@ -17,7 +17,7 @@ db_fix_so () {
# now rebuild all the correct ones
for ext in so a; do
for name in libdb libdb_cxx libdb_tcl libdb_java; do
- target=`find . -type f -maxdepth 1 -name "${name}-*.${ext}" |sort -g |tail -n 1`
+ target=`find . -maxdepth 1 -type f -name "${name}-*.${ext}" |sort -g |tail -n 1`
[ -n "${target}" ] && ln -sf ${target//.\//} ${name}.${ext}
done;
done;
@@ -39,7 +39,7 @@ db_fix_so () {
# do the same for headers now
# but since there are only two of them, just overwrite them
cd ${ROOT}/usr/include
- target=`find . -type d -maxdepth 1 -name 'db[0-9]*' | sort -g |cut -d/ -f2- | tail -n1`
+ target=`find . -maxdepth 1 -type d -name 'db[0-9]*' | sort -g |cut -d/ -f2- | tail -n1`
if [ -n "${target}" ] && [ -e "${target}/db.h" ]; then
einfo "Creating db.h symlinks to ${target}"
ln -sf ${target}/db.h .