From: Zac Medico Date: Mon, 16 Nov 2009 00:29:33 +0000 (-0000) Subject: Restore support for bash-3. (trunk r14804) X-Git-Tag: v2.1.7.5~14 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5c2efd782f624dfc36ac9209c29c2dacd570bb45;p=portage.git Restore support for bash-3. (trunk r14804) svn path=/main/branches/2.1.7/; revision=14827 --- 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 ) }