From 0d13e83d09d3bc4210d73a707ed491c0d4dcf533 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 5 Mar 2008 09:34:37 +0000 Subject: [PATCH] TODO: Move variable name validation and declare -r filtering into filter-bash-environment.py. svn path=/main/trunk/; revision=9438 --- bin/ebuild.sh | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.26.2