diff options
author | Paul de Vrieze <pauldv@gentoo.org> | 2006-08-15 19:43:17 +0000 |
---|---|---|
committer | Paul de Vrieze <pauldv@gentoo.org> | 2006-08-15 19:43:17 +0000 |
commit | 3294caf8dae4ea02c3e6a0093b247c3c86d89dba (patch) | |
tree | 89633118fd0d0a788f54ee41513efcfcd6b92387 /eclass | |
parent | Use keepdir for /var/delta-webrsync. Thanks to Florian Steinel <bugs@08.2006... (diff) | |
download | gentoo-2-3294caf8dae4ea02c3e6a0093b247c3c86d89dba.tar.gz gentoo-2-3294caf8dae4ea02c3e6a0093b247c3c86d89dba.tar.bz2 gentoo-2-3294caf8dae4ea02c3e6a0093b247c3c86d89dba.zip |
Quote targets. Fixes bug #144018
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/db.eclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/db.eclass b/eclass/db.eclass index bd997cf02669..5ae256efe5b4 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.29 2006/08/06 11:58:51 pauldv Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/db.eclass,v 1.30 2006/08/15 19:43:17 pauldv Exp $ # This is a common location for functions used in the sys-libs/db ebuilds # # Bugs: pauldv@gentoo.org @@ -51,10 +51,10 @@ db_fix_so () { target=`find . -maxdepth 1 -type d -name 'db[0-9]*' | sort -n |cut -d/ -f2- | tail -n1` if [ -n "${target}" ] && [ -e "${target}/db.h" ] && ( ! [[ -e db.h ]] || [[ -h db.h ]] ); then einfo "Creating db.h symlinks to ${target}" - ln -sf ${target}/db.h . - ln -sf ${target}/db_185.h . + ln -sf "${target}"/db.h . + ln -sf "${target}"/db_185.h . elif [ ! -e "${target}/db.h" ]; then - if [ -n ${target} ]; then + if [ -n "${target}" ]; then ewarn "Could not find ${target}/db.h" elif [ -h db.h ]; then einfo "Apparently you just removed the last instance of $PN. Removing the symlinks" |