Bug #211949 - Tweak the regex so that a leading whitespace character
authorZac Medico <zmedico@gentoo.org>
Mon, 3 Mar 2008 10:24:46 +0000 (10:24 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 3 Mar 2008 10:24:46 +0000 (10:24 -0000)
cannot match the required non-alphanumeric group.

svn path=/main/trunk/; revision=9421

bin/ebuild.sh

index 4f6959ec0fb5a852b3289a1a9718d9ca2a421cf0..c153b934586446957c4054a469c034637196a485 100755 (executable)
@@ -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