From: Arfrever Frehtes Taifersar Arahesis Date: Tue, 22 Dec 2009 20:05:56 +0000 (+0000) Subject: Bug #297933: Filter BASHOPTS variable for compatibility with bash-4.1. X-Git-Tag: v2.1.6.7_p1~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e24065ccaaed0835f3609b5c31b5816dc8a64f80;p=portage.git Bug #297933: Filter BASHOPTS variable for compatibility with bash-4.1. svn path=/main/trunk/; revision=15130 --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index ab71871f2..f6379a9f4 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1614,8 +1614,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="DIRSTACK EUID FUNCNAME GROUPS - PIPESTATUS PPID SHELLOPTS UID" + local readonly_bash_vars="BASHOPTS BASHPID DIRSTACK EUID + FUNCNAME GROUPS PIPESTATUS PPID SHELLOPTS UID" local filtered_sandbox_vars="SANDBOX_ACTIVE SANDBOX_BASHRC SANDBOX_DEBUG_LOG SANDBOX_DISABLED SANDBOX_LIB SANDBOX_LOG SANDBOX_ON"