summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'bin/isolated-functions.sh')
-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 080ace85..4d3c6960 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
)
}