diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-03-03 10:24:46 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-03-03 10:24:46 +0000 |
commit | c5ea004ef412130ebfe157640543d0b563017f9f (patch) | |
tree | b1ebef019d89e29d5a05443b64f4ec8f53b837ca | |
parent | 6f788fe926c73d26f09f26970150edd8edccb423 (diff) | |
download | portage-c5ea004ef412130ebfe157640543d0b563017f9f.tar.gz portage-c5ea004ef412130ebfe157640543d0b563017f9f.tar.bz2 portage-c5ea004ef412130ebfe157640543d0b563017f9f.zip |
Bug #211949 - Tweak the regex so that a leading whitespace character
cannot match the required non-alphanumeric group.
svn path=/main/trunk/; revision=9421
-rwxr-xr-x | bin/ebuild.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 4f6959ec0..c153b9345 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1425,7 +1425,8 @@ filter_readonly_variables() { SANDBOX_LOG SANDBOX_ON" filtered_vars="${readonly_bash_vars} ${READONLY_PORTAGE_VARS} BASH_[_[:alnum:]]* PATH - [[:digit:]][_[:alnum:]]* [^[:space:]]*[^_[:alnum:]][^[:space:]]*" + [[:digit:]][_[:alnum:]]* + [^[:space:]]*[^_[:alnum:][:space:]][^[:space:]]*" if hasq --filter-sandbox $* ; then filtered_vars="${filtered_vars} SANDBOX_[_[:alnum:]]*" else |