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 | 5b2ec9cfe1acaadf1e67c3833003b5554ed00b3c (patch) | |
tree | 2b1e0031b4a1f9c341c99ecab667090b37129f2d /eclass | |
parent | haddock-0.6-r3 works with ghc-6.4 now (diff) | |
download | historical-5b2ec9cfe1acaadf1e67c3833003b5554ed00b3c.tar.gz historical-5b2ec9cfe1acaadf1e67c3833003b5554ed00b3c.tar.bz2 historical-5b2ec9cfe1acaadf1e67c3833003b5554ed00b3c.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 |