summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul de Vrieze <pauldv@gentoo.org>2003-10-15 10:53:01 +0000
committerPaul de Vrieze <pauldv@gentoo.org>2003-10-15 10:53:01 +0000
commit98e78068bfc748128393fceb6fecaaf95a2dce96 (patch)
treee0430be83f436426c45101ceadb0bbe8c8c17d5c /eclass/db.eclass
parentrev bump to fix version in pkgconfig file (diff)
downloadhistorical-98e78068bfc748128393fceb6fecaaf95a2dce96.tar.gz
historical-98e78068bfc748128393fceb6fecaaf95a2dce96.tar.bz2
historical-98e78068bfc748128393fceb6fecaaf95a2dce96.zip
Fix stupid foulup with db.eclass
Diffstat (limited to 'eclass/db.eclass')
-rw-r--r--eclass/db.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/db.eclass b/eclass/db.eclass
index 1f125a2841ae..7e5f518f0a41 100644
--- a/eclass/db.eclass
+++ b/eclass/db.eclass
@@ -1,5 +1,5 @@
# This is a common location for functions used in the sys-libs/db ebuilds
-# $Header: /var/cvsroot/gentoo-x86/eclass/db.eclass,v 1.5 2003/10/15 09:03:13 pauldv Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/db.eclass,v 1.6 2003/10/15 10:53:01 pauldv Exp $
ECLASS=db
INHERITED="$INHERITED $ECLASS"
@@ -39,7 +39,7 @@ db_fix_so () {
# 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`
- if [ -n "${target} ] && [ -e "${target}/db.h" ]; then
+ if [ -n "${target}" ] && [ -e "${target}/db.h" ]; then
ln -sf ${target}/db.h .
ln -sf ${target}/db_185.h .
elif [ ! -e "${target}/db.h" ]; then