summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul de Vrieze <pauldv@gentoo.org>2006-08-15 19:43:17 +0000
committerPaul de Vrieze <pauldv@gentoo.org>2006-08-15 19:43:17 +0000
commitafaffc26376ea2f4b3e957a2c64048bc7a1cafb1 (patch)
tree50b6a223a5c407fea4eab79164c0f7ff5cc5e8cf /eclass/db.eclass
parentUse keepdir for /var/delta-webrsync. Thanks to Florian Steinel <bugs@08.2006... (diff)
downloadhistorical-afaffc26376ea2f4b3e957a2c64048bc7a1cafb1.tar.gz
historical-afaffc26376ea2f4b3e957a2c64048bc7a1cafb1.tar.bz2
historical-afaffc26376ea2f4b3e957a2c64048bc7a1cafb1.zip
Quote targets. Fixes bug #144018
Diffstat (limited to 'eclass/db.eclass')
-rw-r--r--eclass/db.eclass8
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"