From: Zac Medico Date: Tue, 4 Mar 2008 08:11:20 +0000 (-0000) Subject: Bug #211949 - Temporarily revert back to a less strict regex in order to X-Git-Tag: v2.2_pre4~19 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c52e0ff64481a3da2c064453742620c381169b80;p=portage.git Bug #211949 - Temporarily revert back to a less strict regex in order to avoid false positives with multi-line variable definitions that can be produced by the 'export' builtin. svn path=/main/trunk/; revision=9432 --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index f71a672e9..6ccd36856 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1426,7 +1426,7 @@ filter_readonly_variables() { filtered_vars="${readonly_bash_vars} ${READONLY_PORTAGE_VARS} BASH_[_[:alnum:]]* PATH [[:digit:]][_[:alnum:]]* - [^=[:space:]]*[^_[:alnum:]=[:space:]][^=[:space:]]*" + [-_[:alnum:]]*-[-_[:alnum:]]*" if hasq --filter-sandbox $* ; then filtered_vars="${filtered_vars} SANDBOX_[_[:alnum:]]*" else