projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3097e06
)
Restore support for bash-3. (trunk r14804)
author
Zac Medico
<zmedico@gentoo.org>
Mon, 16 Nov 2009 00:29:33 +0000
(
00:29
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 16 Nov 2009 00:29:33 +0000
(
00:29
-0000)
svn path=/main/branches/2.1.7/; revision=14827
bin/isolated-functions.sh
patch
|
blob
|
history
diff --git
a/bin/isolated-functions.sh
b/bin/isolated-functions.sh
index 080ace85eb0739f27c7b6c2321023503efdbe812..4d3c6960e699db4dca3be2a19e88a4ba096f6c6d 100755
(executable)
--- 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
)
}