projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afdbf28
)
In filter_readonly_variables(), replace 'declare -r ' with 'declare '
author
Zac Medico
<zmedico@gentoo.org>
Thu, 13 Dec 2007 01:53:46 +0000
(
01:53
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 13 Dec 2007 01:53:46 +0000
(
01:53
-0000)
instead of removing it completely.
svn path=/main/trunk/; revision=8891
bin/ebuild.sh
patch
|
blob
|
history
diff --git
a/bin/ebuild.sh
b/bin/ebuild.sh
index fbccce70ce32ad8f7c7f1889e113fd865654f898..45437bc2d6cc18295f4583c26f9c65fb00934390 100755
(executable)
--- a/
bin/ebuild.sh
+++ b/
bin/ebuild.sh
@@
-1426,7
+1426,7
@@
filter_readonly_variables() {
# persisting in the saved environment can be inconvenient when it
# eventually needs to be reloaded.
egrep -v -e "${var_grep}" | sed \
- -e 's:^declare[[:space:]]\+-r[[:space:]]\+::' \
+ -e 's:^declare[[:space:]]\+-r[[:space:]]\+:
declare
:' \
-e 's:^declare[[:space:]]\+-\([[:alnum:]]*\)r\([[:alnum:]]*\)[[:space:]]\+:declare -\1\2 :'
}