diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-03-03 10:16:26 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-03-03 10:16:26 +0000 |
commit | 6f788fe926c73d26f09f26970150edd8edccb423 (patch) | |
tree | 0519a79a8694dbd4a33976460f43f966b1d59bfa | |
parent | 6e8a6d851ce09eb11199138b0272aa2d8efd66be (diff) | |
download | portage-6f788fe926c73d26f09f26970150edd8edccb423.tar.gz portage-6f788fe926c73d26f09f26970150edd8edccb423.tar.bz2 portage-6f788fe926c73d26f09f26970150edd8edccb423.zip |
Fix the regex for bug #211949 so that it correctly matches variable
names that contain more than one non-alphanumeric character.
svn path=/main/trunk/; revision=9419
-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 4773d9b44..4f6959ec0 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1425,7 +1425,7 @@ filter_readonly_variables() { SANDBOX_LOG SANDBOX_ON" filtered_vars="${readonly_bash_vars} ${READONLY_PORTAGE_VARS} BASH_[_[:alnum:]]* PATH - [[:digit:]][_[:alnum:]]* [_[:alnum:]]*[^_[:alnum:]][_[:alnum:]]*" + [[:digit:]][_[:alnum:]]* [^[:space:]]*[^_[:alnum:]][^[:space:]]*" if hasq --filter-sandbox $* ; then filtered_vars="${filtered_vars} SANDBOX_[_[:alnum:]]*" else |