From 53b80a8d0b9a3eb6c20a3e9c56add2381a1d91dc Mon Sep 17 00:00:00 2001 From: Andrew Savchenko Date: Tue, 17 Jan 2017 19:19:46 +0300 Subject: [PATCH] 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 --- www-client/firefox/firefox-50.1.0-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" -- 2.26.2