summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/isolated-functions.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh
index 080ace85e..4d3c6960e 100755
--- a/bin/isolated-functions.sh
+++ b/bin/isolated-functions.sh
@@ -571,6 +571,9 @@ save_ebuild_env() {
declare -p
declare -fp
+ if [[ ${BASH_VERSINFO[0]} == 3 ]]; then
+ export
+ fi
)
}