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

svn path=/main/branches/2.1.2/; revision=9422

bin/ebuild.sh

index f22fbd621784be496fc97335b9e5a6fe07a4c314..0d69fb4dac86a50ac46e63103ac40f59ace981ea 100755 (executable)
@@ -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