summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Savchenko <bircoph@gentoo.org>2017-01-17 19:19:46 +0300
committerAndrew Savchenko <bircoph@gentoo.org>2017-01-17 19:20:31 +0300
commit53b80a8d0b9a3eb6c20a3e9c56add2381a1d91dc (patch)
tree271a6ced12eb28f8ed0444c8604fe4076f78d682 /www-client
parentdev-libs/libnl: Add in6.h instead of dropping the include (bug #604190). (diff)
downloadgentoo-53b80a8d0b9a3eb6c20a3e9c56add2381a1d91dc.tar.gz
gentoo-53b80a8d0b9a3eb6c20a3e9c56add2381a1d91dc.tar.bz2
gentoo-53b80a8d0b9a3eb6c20a3e9c56add2381a1d91dc.zip
www-client/firefox: fix bug 600386
Do not call addpredict when ${cards} list is empty. Thanks Sven B. <bahro@fbihome.de> for proposed fix. Package-Manager: Portage-2.3.3, Repoman-2.3.1 Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/firefox/firefox-50.1.0-r1.ebuild4
1 files 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"