summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-12-22 20:05:56 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-12-22 20:05:56 +0000
commit00ff606e92e3ae5ec7a1aa04ce3eb1878dc67adb (patch)
tree1dbdd19bd80ab71676b6a983b3a110f2357ab5df
parentc16af020030e5d6ee3b99ee41564baf105d75c4f (diff)
downloadportage-00ff606e92e3ae5ec7a1aa04ce3eb1878dc67adb.tar.gz
portage-00ff606e92e3ae5ec7a1aa04ce3eb1878dc67adb.tar.bz2
portage-00ff606e92e3ae5ec7a1aa04ce3eb1878dc67adb.zip
Bug #297933: Filter BASHOPTS variable for compatibility with bash-4.1.
svn path=/main/trunk/; revision=15130
-rwxr-xr-xbin/ebuild.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index c9b5d50c0..6f6280585 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -1647,8 +1647,8 @@ PORTAGE_MUTABLE_FILTERED_VARS="AA HOSTNAME"
# variables out and discards them. See bug #190128.
filter_readonly_variables() {
local x filtered_vars
- local readonly_bash_vars="BASHPID DIRSTACK EUID FUNCNAME
- GROUPS PIPESTATUS PPID SHELLOPTS UID"
+ local readonly_bash_vars="BASHOPTS BASHPID DIRSTACK EUID
+ FUNCNAME GROUPS PIPESTATUS PPID SHELLOPTS UID"
local bash_misc_vars="BASH BASH_.* COMP_WORDBREAKS HISTCMD
HISTFILE HOSTNAME HOSTTYPE IFS LINENO MACHTYPE OLDPWD
OPTERR OPTIND OSTYPE POSIXLY_CORRECT PS4 PWD RANDOM