diff options
author | Paul de Vrieze <pauldv@gentoo.org> | 2003-10-15 10:53:01 +0000 |
---|---|---|
committer | Paul de Vrieze <pauldv@gentoo.org> | 2003-10-15 10:53:01 +0000 |
commit | 6157cd17abc6c04bf460773498983d238dda7b0a (patch) | |
tree | 1f5981799a7d1cc68df867491255acc246043bdb /eclass/db.eclass | |
parent | rev bump to fix version in pkgconfig file (diff) | |
download | gentoo-2-6157cd17abc6c04bf460773498983d238dda7b0a.tar.gz gentoo-2-6157cd17abc6c04bf460773498983d238dda7b0a.tar.bz2 gentoo-2-6157cd17abc6c04bf460773498983d238dda7b0a.zip |
Fix stupid foulup with db.eclass
Diffstat (limited to 'eclass/db.eclass')
-rw-r--r-- | eclass/db.eclass | 4 |
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 |