projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f7d017
)
TODO: Move variable name validation and declare -r filtering
author
Zac Medico
<zmedico@gentoo.org>
Wed, 5 Mar 2008 09:34:37 +0000
(09:34 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 5 Mar 2008 09:34:37 +0000
(09:34 -0000)
into filter-bash-environment.py.
svn path=/main/trunk/; revision=9438
bin/ebuild.sh
patch
|
blob
|
history
diff --git
a/bin/ebuild.sh
b/bin/ebuild.sh
index 6ca4d6a7565ee321a7137163c5a8e670e49600dd..ecbb69d2a6eedd0d80a8b085f36d799baf99120e 100755
(executable)
--- a/
bin/ebuild.sh
+++ b/
bin/ebuild.sh
@@
-1427,6
+1427,9
@@
filter_readonly_variables() {
BASH_[_[:alnum:]]* PATH
[[:digit:]][_[: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.
if hasq --filter-sandbox $* ; then
filtered_vars="${filtered_vars} SANDBOX_[_[:alnum:]]*"
else