From: Zac Medico Date: Tue, 4 Mar 2008 04:51:54 +0000 (-0000) Subject: Bug #211949 - Fix the regex so that it won't match the = character (equals X-Git-Tag: v2.1.5~366 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ad9b962a356ee23f8dc0a3b57ac3a058fadfc0b8;p=portage.git Bug #211949 - Fix the regex so that it won't match the = character (equals sign). (trunk r9429) svn path=/main/branches/2.1.2/; revision=9430 --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 0d69fb4da..2f17d0e7e 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -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