diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-03-03 10:25:40 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-03-03 10:25:40 +0000 |
commit | 2ecca14964bd898087200f379c180ec6885a2386 (patch) | |
tree | a44fd08dd749fe5b58d428e4f6626e2325f206d5 /bin/ebuild.sh | |
parent | 29942ab7f3bada8e7b7043db26e456aa510f7ee3 (diff) | |
download | portage-2ecca14964bd898087200f379c180ec6885a2386.tar.gz portage-2ecca14964bd898087200f379c180ec6885a2386.tar.bz2 portage-2ecca14964bd898087200f379c180ec6885a2386.zip |
Bug #211949 - Tweak the regex so that a leading whitespace character
cannot match the required non-alphanumeric group. (trunk r9421)
svn path=/main/branches/2.1.2/; revision=9422
Diffstat (limited to 'bin/ebuild.sh')
-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 f22fbd621..0d69fb4da 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1420,7 +1420,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 |