From 5c2efd782f624dfc36ac9209c29c2dacd570bb45 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 16 Nov 2009 00:29:33 +0000 Subject: Restore support for bash-3. (trunk r14804) svn path=/main/branches/2.1.7/; revision=14827 --- bin/isolated-functions.sh | 3 +++ 1 file changed, 3 insertions(+) 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 ) } -- cgit v1.2.3-1-g7c22