From: Zac Medico Date: Wed, 5 Mar 2008 09:34:37 +0000 (-0000) Subject: TODO: Move variable name validation and declare -r filtering X-Git-Tag: v2.2_pre4~13 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0d13e83d09d3bc4210d73a707ed491c0d4dcf533;p=portage.git TODO: Move variable name validation and declare -r filtering into filter-bash-environment.py. svn path=/main/trunk/; revision=9438 --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 6ca4d6a75..ecbb69d2a 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1427,6 +1427,9 @@ filter_readonly_variables() { BASH_[_[:alnum:]]* PATH [[:digit:]][_[:alnum:]]* [-_[:alnum:]]*-[-_[:alnum:]]*" + # TODO: Take the above variable name validation and the below sed-based + # declare -r filter and integrate them both directly into + # filter-bash-environment.py. if hasq --filter-sandbox $* ; then filtered_vars="${filtered_vars} SANDBOX_[_[:alnum:]]*" else