summaryrefslogtreecommitdiffstats
path: root/bin/ebuild.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ebuild.sh')
-rwxr-xr-xbin/ebuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index ecbb69d2a..3268c9b0e 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:]]*
- [-_[:alnum:]]*-[-_[:alnum:]]*"
+ .*[^_[:alnum:]].*"
# TODO: Take the above variable name validation and the below sed-based
# declare -r filter and integrate them both directly into
# filter-bash-environment.py.