From a616513ce90f8c09f3da3e5abd8c25bb4b407fee Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 21 Dec 2011 21:44:18 +0000 Subject: check for len and not the patch files themselves --- eclass/toolchain-binutils.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'eclass') 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 # @@ -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 -- cgit v1.2.3-65-gdbad