diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-03-02 23:26:42 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-03-02 23:26:42 +0000 |
commit | 9f821293ac8eb72346794b153f363a88198a3314 (patch) | |
tree | 5323dc62456ad06772771c5edf8dd7bc43b0a6e6 /bin/filter-bash-environment.py | |
parent | f3a07ea9bd683ed27896480aeee169b619ad9f68 (diff) | |
download | portage-9f821293ac8eb72346794b153f363a88198a3314.tar.gz portage-9f821293ac8eb72346794b153f363a88198a3314.tar.bz2 portage-9f821293ac8eb72346794b153f363a88198a3314.zip |
Bug #211949 - As suggested by vapier, tighten the variable filter to also
exclude variable names that begin with a digit or that contain any
non-alphanumeric characters that are not be supported by bash.
svn path=/main/trunk/; revision=9416
Diffstat (limited to 'bin/filter-bash-environment.py')
-rwxr-xr-x | bin/filter-bash-environment.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/filter-bash-environment.py b/bin/filter-bash-environment.py index 83b250b69..691d406da 100755 --- a/bin/filter-bash-environment.py +++ b/bin/filter-bash-environment.py @@ -7,6 +7,7 @@ import os, re, sys egrep_compat_map = { "[:alnum:]" : r'\w', + "[:digit:]" : r'\d', "[:space:]" : r'\s', } |