From: Andrew Savchenko Date: Tue, 17 Jan 2017 16:19:46 +0000 (+0300) Subject: www-client/firefox: fix bug 600386 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=53b80a8d0b9a3eb6c20a3e9c56add2381a1d91dc;p=gentoo.git www-client/firefox: fix bug 600386 Do not call addpredict when ${cards} list is empty. Thanks Sven B. for proposed fix. Package-Manager: Portage-2.3.3, Repoman-2.3.1 Signed-off-by: Andrew Savchenko --- diff --git a/www-client/firefox/firefox-50.1.0-r1.ebuild b/www-client/firefox/firefox-50.1.0-r1.ebuild index 6c11378cb5c6..40b6f4584232 100644 --- a/www-client/firefox/firefox-50.1.0-r1.ebuild +++ b/www-client/firefox/firefox-50.1.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -256,7 +256,7 @@ src_compile() { fi fi shopt -u nullglob - addpredict "${cards}" + [[ -n "${cards}" ]] && addpredict "${cards}" MOZ_MAKE_FLAGS="${MAKEOPTS}" SHELL="${SHELL:-${EPREFIX%/}/bin/bash}" \ virtx emake -f client.mk profiledbuild || die "virtx emake failed"