summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-11-08 14:30:55 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-11-08 14:30:55 +0000
commit5b469f94d2a1155ded74dfa2666d2dd80e1922b1 (patch)
tree0bf5124bde1aad169f3f54ff69e825caab1ffcc0
parent8bb15a371e10a957a2317e97e9f2d4b325259dc0 (diff)
downloadportage-5b469f94d2a1155ded74dfa2666d2dd80e1922b1.tar.gz
portage-5b469f94d2a1155ded74dfa2666d2dd80e1922b1.tar.bz2
portage-5b469f94d2a1155ded74dfa2666d2dd80e1922b1.zip
Restore support for bash-3.
svn path=/main/trunk/; revision=14804
-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
)
}