diff options
author | Paul de Vrieze <pauldv@gentoo.org> | 2005-03-24 15:03:36 +0000 |
---|---|---|
committer | Paul de Vrieze <pauldv@gentoo.org> | 2005-03-24 15:03:36 +0000 |
commit | 9d984d04c90f486092d6fa99f1467b167e8e4e02 (patch) | |
tree | b2bded54d46188e801c98bf8b942ccd4bb58d2e6 /eclass | |
parent | haddock-0.6-r3 works with ghc-6.4 now (diff) | |
download | gentoo-2-9d984d04c90f486092d6fa99f1467b167e8e4e02.tar.gz gentoo-2-9d984d04c90f486092d6fa99f1467b167e8e4e02.tar.bz2 gentoo-2-9d984d04c90f486092d6fa99f1467b167e8e4e02.zip |
Fix a silly error
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/db.eclass | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/eclass/db.eclass b/eclass/db.eclass index 4fca6af137d0..faa9e5305abb 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.14 2005/03/24 12:32:06 pauldv Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/db.eclass,v 1.15 2005/03/24 15:03:36 pauldv Exp $ # This is a common location for functions used in the sys-libs/db ebuilds ECLASS=db @@ -45,8 +45,9 @@ db_fix_so () { ln -sf ${target}/db.h . ln -sf ${target}/db_185.h . elif [ ! -e "${target}/db.h" ]; then - if [ -n ${target} ]; then ewarn "Could not find ${target}/db.h" - elif + if [ -n ${target} ]; then + ewarn "Could not find ${target}/db.h" + else einfo "Apparently you just removed the last instance of $PN. Removing the symlinks" fi rm db.h db_185.h |