aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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