diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-03-05 19:59:27 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-03-05 19:59:27 +0000 |
commit | deee80841177cfb1c965e60ad3ce93a808cbe55a (patch) | |
tree | 99a03fb5bd3d99a32902d76b14e97ecd56ddda43 | |
parent | 0142fe59202ab4c0c19939511cd71de7c17d3994 (diff) | |
download | portage-deee80841177cfb1c965e60ad3ce93a808cbe55a.tar.gz portage-deee80841177cfb1c965e60ad3ce93a808cbe55a.tar.bz2 portage-deee80841177cfb1c965e60ad3ce93a808cbe55a.zip |
Bug #211949 - Tighten the variable name filter to exclude any variables
with names containing any non-alphanumeric characters.
svn path=/main/trunk/; revision=9441
-rwxr-xr-x | bin/ebuild.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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. |