From deee80841177cfb1c965e60ad3ce93a808cbe55a Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 5 Mar 2008 19:59:27 +0000 Subject: [PATCH] Bug #211949 - Tighten the variable name filter to exclude any variables with names containing any non-alphanumeric characters. svn path=/main/trunk/; revision=9441 --- bin/ebuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ebuild.sh b/bin/ebuild.sh index ecbb69d2a..3268c9b0e 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1426,7 +1426,7 @@ filter_readonly_variables() { filtered_vars="${readonly_bash_vars} ${READONLY_PORTAGE_VARS} BASH_[_[:alnum:]]* PATH [[:digit:]][_[:alnum:]]* - [-_[: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. -- 2.26.2