Bug #211949 - Fix the regex so that it won't match the = character (equals
authorZac Medico <zmedico@gentoo.org>
Tue, 4 Mar 2008 04:51:54 +0000 (04:51 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 4 Mar 2008 04:51:54 +0000 (04:51 -0000)
sign). (trunk r9429)

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

bin/ebuild.sh

index 0d69fb4dac86a50ac46e63103ac40f59ace981ea..2f17d0e7e6765aac860b0f0b0462468037e3f844 100755 (executable)
@@ -1421,7 +1421,7 @@ filter_readonly_variables() {
        filtered_vars="${readonly_bash_vars} ${READONLY_PORTAGE_VARS}
                BASH_[_[:alnum:]]* PATH
                [[:digit:]][_[:alnum:]]*
-               [^[:space:]]*[^_[:alnum:][:space:]][^[:space:]]*"
+               [^=[:space:]]*[^_[:alnum:]=[:space:]][^=[:space:]]*"
        if hasq --filter-sandbox $* ; then
                filtered_vars="${filtered_vars} SANDBOX_[_[:alnum:]]*"
        else