summaryrefslogtreecommitdiffstats
path: root/bin/ebuild.sh
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-03-05 09:20:27 +0000
committerZac Medico <zmedico@gentoo.org>2008-03-05 09:20:27 +0000
commitf16908081b5de56550a2cc0b49701f66673ae1a0 (patch)
tree17f7da35b32aad98959bd2fa9acdcb45cad1bacd /bin/ebuild.sh
parentc713f5e193a5f51101de1a4c324c27d06a887cb9 (diff)
downloadportage-f16908081b5de56550a2cc0b49701f66673ae1a0.tar.gz
portage-f16908081b5de56550a2cc0b49701f66673ae1a0.tar.bz2
portage-f16908081b5de56550a2cc0b49701f66673ae1a0.zip
Implement variable assignment handling in python so that we can eventually
make it more flexible and robust. svn path=/main/trunk/; revision=9436
Diffstat (limited to 'bin/ebuild.sh')
-rwxr-xr-xbin/ebuild.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 6ccd36856..6ca4d6a75 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -1448,7 +1448,6 @@ filter_readonly_variables() {
done
set +f
var_grep=${var_grep:1} # strip the first |
- var_grep="(^|^declare[[:space:]]+-[^[:space:]]+[[:space:]]+|^export[[:space:]]+)(${var_grep})=.*"
# The sed is to remove the readonly attribute from variables such as those
# listed in READONLY_EBUILD_METADATA, since having any readonly attributes
# persisting in the saved environment can be inconvenient when it