diff options
author | Bo Ørsted Andresen <zlin@gentoo.org> | 2008-04-06 21:36:53 +0000 |
---|---|---|
committer | Bo Ørsted Andresen <zlin@gentoo.org> | 2008-04-06 21:36:53 +0000 |
commit | a93a9af61427e305ab872de2f4775623e1e5a939 (patch) | |
tree | 1c4a912392f63e1000280d97ec20a0cc99de1789 /eclass | |
parent | version bump, bug #216314 (diff) | |
download | historical-a93a9af61427e305ab872de2f4775623e1e5a939.tar.gz historical-a93a9af61427e305ab872de2f4775623e1e5a939.tar.bz2 historical-a93a9af61427e305ab872de2f4775623e1e5a939.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')
-rw-r--r-- | eclass/kde4-base.eclass | 6 |
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 |