* In filter_readonly_variables(), replace 'declare -r ' with 'declare '
authorZac Medico <zmedico@gentoo.org>
Thu, 13 Dec 2007 05:54:49 +0000 (05:54 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 13 Dec 2007 05:54:49 +0000 (05:54 -0000)
commit78fb2c22e9b81dd5cd2e0d35a1d7d8960bc363e7
tree3092c12edac23c3c087dcea1942f0c8a107af988
parentfcc332a75cf153b9912bc4b26f1d4f028daa7ff3
* In filter_readonly_variables(), replace 'declare -r ' with 'declare '
  instead of removing it completely.

* Bug #202068 - In order to filter unwanted variable assignments out
  of the bash environment, use a filter-bash-environment.py script
  that behaves similar to egrep -v except that it leaves bash here-
  documents intact.

* Use the sed -r option to enable extended regular expressions so that
  commonly used characters like (, ), and + don't have to be escaped.

(trunk r8890:8893)

svn path=/main/branches/2.1.2/; revision=8899
bin/ebuild.sh
bin/filter-bash-environment.py [new file with mode: 0755]