summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBo Ørsted Andresen <zlin@gentoo.org>2008-04-06 21:36:53 +0000
committerBo Ørsted Andresen <zlin@gentoo.org>2008-04-06 21:36:53 +0000
commit7b76f045b4be319118e596d29e1df684aeedbcc7 (patch)
tree23f1635b0728bcb8ad6207075c163c41f8b16dec /eclass/kde4-base.eclass
parentversion bump, bug #216314 (diff)
downloadgentoo-2-7b76f045b4be319118e596d29e1df684aeedbcc7.tar.gz
gentoo-2-7b76f045b4be319118e596d29e1df684aeedbcc7.tar.bz2
gentoo-2-7b76f045b4be319118e596d29e1df684aeedbcc7.zip
Use an array for PATCHES on the eclass level regardless if the ebuild explicitly specifies two or more patches or not.
Diffstat (limited to 'eclass/kde4-base.eclass')
-rw-r--r--eclass/kde4-base.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/kde4-base.eclass b/eclass/kde4-base.eclass
index 142c2fc4e020..ba18122ae397 100644
--- a/eclass/kde4-base.eclass
+++ b/eclass/kde4-base.eclass
@@ -1,6 +1,6 @@
# Copyright 2007-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.8 2008/04/04 22:15:24 zlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.9 2008/04/06 21:36:53 zlin Exp $
# @ECLASS: kde4-base.eclass
# @MAINTAINER:
@@ -371,9 +371,9 @@ kde4-base_apply_patches() {
done
else
for _p in ${_packages}; do
- PATCHES="${PATCHES} $(ls ${_patchdir}/${_p}-${PV}-*{diff,patch} 2>/dev/null)"
+ PATCHES=(${PATCHES} $(ls ${_patchdir}/${_p}-${PV}-*{diff,patch} 2>/dev/null))
if [[ -n "${KDEBASE}" ]]; then
- PATCHES="${PATCHES} $(ls ${_patchdir}/${_p}-${SLOT}-*{diff,patch} 2>/dev/null)"
+ PATCHES=(${PATCHES} $(ls ${_patchdir}/${_p}-${SLOT}-*{diff,patch} 2>/dev/null))
fi
done
fi