summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <opfer@gentoo.org>2008-06-11 22:48:14 +0000
committerChristian Faulhammer <opfer@gentoo.org>2008-06-11 22:48:14 +0000
commit0893e2aa00c773e27591f4c363ebf3c704d81f55 (patch)
tree9b223e58db59eb0fb718dbd1ad42f2d720f950aa /mail-client
parentstable x86, bug 222167 (diff)
downloadgentoo-2-0893e2aa00c773e27591f4c363ebf3c704d81f55.tar.gz
gentoo-2-0893e2aa00c773e27591f4c363ebf3c704d81f55.tar.bz2
gentoo-2-0893e2aa00c773e27591f4c363ebf3c704d81f55.zip
make the rebuild script space safe
(Portage version: 2.1.4.4)
Diffstat (limited to 'mail-client')
-rw-r--r--mail-client/claws-mail/ChangeLog6
-rw-r--r--mail-client/claws-mail/files/plugins-rebuild.sh10
2 files changed, 10 insertions, 6 deletions
diff --git a/mail-client/claws-mail/ChangeLog b/mail-client/claws-mail/ChangeLog
index c829fa4e3d8b..a94c9ba66b28 100644
--- a/mail-client/claws-mail/ChangeLog
+++ b/mail-client/claws-mail/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for mail-client/claws-mail
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/ChangeLog,v 1.72 2008/06/11 22:45:34 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/ChangeLog,v 1.73 2008/06/11 22:48:13 opfer Exp $
+
+ 11 Jun 2008; Christian Faulhammer <opfer@gentoo.org>
+ files/plugins-rebuild.sh:
+ make the rebuild script space safe
11 Jun 2008; Christian Faulhammer <opfer@gentoo.org>
claws-mail-3.4.0.ebuild:
diff --git a/mail-client/claws-mail/files/plugins-rebuild.sh b/mail-client/claws-mail/files/plugins-rebuild.sh
index 2b1a01001611..62a259101170 100644
--- a/mail-client/claws-mail/files/plugins-rebuild.sh
+++ b/mail-client/claws-mail/files/plugins-rebuild.sh
@@ -1,10 +1,10 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/files/plugins-rebuild.sh,v 1.2 2006/12/19 18:30:06 ticho Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/files/plugins-rebuild.sh,v 1.3 2008/06/11 22:48:14 opfer Exp $
#!/bin/bash
-if [ -d ${ROOT}/var/db/pkg ]; then
- cd ${ROOT}/var/db/pkg
+if [ -d "${ROOT}"/var/db/pkg ]; then
+ cd "${ROOT}"/var/db/pkg
else
echo "ERROR: package database not found"
exit 1
@@ -12,7 +12,7 @@ fi
if ls -d mail-client/sylpheed-claws-[a-z]* &> /dev/null; then
echo "Looking for sylpheed-claws plugins to rename ..."
- OLDPLUGINS=$(for d in mail-client/sylpheed-claws-[a-z]*; do /usr/lib/portage/bin/pkgname $d | cut -d' ' -f 1; done)
+ OLDPLUGINS=$(for d in mail-client/sylpheed-claws-[a-z]*; do /usr/lib/portage/bin/pkgname ${d} | cut -d' ' -f 1; done)
echo
echo "Found old plugins for rename:"
echo "${OLDPLUGINS}"
@@ -27,7 +27,7 @@ if ls -d mail-client/sylpheed-claws-[a-z]* &> /dev/null; then
emerge $* ${OLDPLUGINS//sylpheed-claws/claws-mail}
elif ls -d mail-client/claws-mail-[a-z]* &> /dev/null; then
echo "Looking for claws-mail plugins to rebuild ..."
- PLUGINS=$(for d in mail-client/claws-mail-[a-z]*; do /usr/lib/portage/bin/pkgname $d | cut -d' ' -f 1; done)
+ PLUGINS=$(for d in mail-client/claws-mail-[a-z]*; do /usr/lib/portage/bin/pkgname ${d} | cut -d' ' -f 1; done)
echo
echo "Found plugins for rebuilding:"
echo "${PLUGINS}"