diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-12-21 21:44:18 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-12-21 21:44:18 +0000 |
commit | a616513ce90f8c09f3da3e5abd8c25bb4b407fee (patch) | |
tree | 75d6dc256dca3ceaf3ef9eb0733b9616bcac2c1b /eclass | |
parent | arm stable, bug #394393 (diff) | |
download | gentoo-2-a616513ce90f8c09f3da3e5abd8c25bb4b407fee.tar.gz gentoo-2-a616513ce90f8c09f3da3e5abd8c25bb4b407fee.tar.bz2 gentoo-2-a616513ce90f8c09f3da3e5abd8c25bb4b407fee.zip |
check for len and not the patch files themselves
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/toolchain-binutils.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/toolchain-binutils.eclass b/eclass/toolchain-binutils.eclass index 30222096b552..aa056ae2b1ab 100644 --- a/eclass/toolchain-binutils.eclass +++ b/eclass/toolchain-binutils.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.107 2011/12/21 21:01:22 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.108 2011/12/21 21:44:18 vapier Exp $ # # Maintainer: Toolchain Ninjas <toolchain@gentoo.org> # @@ -165,7 +165,7 @@ tc-binutils_apply_patches() { die "sorry, but this binutils doesn't yet support uClibc :(" fi fi - [[ ${PATCHES[@]} -gt 0 ]] && epatch "${PATCHES[@]}" + [[ ${#PATCHES[@]} -gt 0 ]] && epatch "${PATCHES[@]}" epatch_user fi |