aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zachary.medico@sony.com>2019-07-03 14:20:00 -0700
committerZac Medico <zmedico@gentoo.org>2019-07-03 14:26:25 -0700
commitf4aa49bc1ba210a1257ae6291a60d0944c32691d (patch)
tree384e1d2152b80a82f166d9a6633f26dbc096ce0c
parentUpdates for portage-2.3.68 release (diff)
downloadgentoo-portage-f4aa49bc1ba210a1257ae6291a60d0944c32691d.tar.xz
gentoo-portage-f4aa49bc1ba210a1257ae6291a60d0944c32691d.zip
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 <zmedico@gentoo.org>
-rwxr-xr-xbin/ebuild.sh2
1 files changed, 1 insertions, 1 deletions
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