From f4aa49bc1ba210a1257ae6291a60d0944c32691d Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 3 Jul 2019 14:20:00 -0700 Subject: ebuild.sh: suppress export error messages for eix-update Suppress export error messages like this for eix-update: /usr/lib/portage/python3.6/ebuild.sh: line 11: export: ___in_portage_iuse: not a function Fixes: 7f1aac111320 ("ebuild.sh: unexport ___in_portage_iuse function (bug 680810)") Bug: https://bugs.gentoo.org/680810 Bug: https://bugs.gentoo.org/689128 Signed-off-by: Zac Medico --- bin/ebuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 50a0330f3..56555a5b7 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -8,7 +8,7 @@ unalias -a # Make sure this isn't exported to scripts we execute. unset BASH_COMPAT -export -n -f ___in_portage_iuse +declare -F ___in_portage_iuse >/dev/null && export -n -f ___in_portage_iuse source "${PORTAGE_BIN_PATH}/isolated-functions.sh" || exit 1 -- cgit v1.2.3-65-gdbad