summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-03-04 08:11:20 +0000
committerZac Medico <zmedico@gentoo.org>2008-03-04 08:11:20 +0000
commitc52e0ff64481a3da2c064453742620c381169b80 (patch)
tree953e2445ec30f568a2de3cbee82c4218b7ba8543
parent820724b418ac0020394bfbc8f17ac9bcbb4926e5 (diff)
downloadportage-c52e0ff64481a3da2c064453742620c381169b80.tar.gz
portage-c52e0ff64481a3da2c064453742620c381169b80.tar.bz2
portage-c52e0ff64481a3da2c064453742620c381169b80.zip
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
-rwxr-xr-xbin/ebuild.sh2
1 files changed, 1 insertions, 1 deletions
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