summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-11-20 06:31:36 +0000
committerZac Medico <zmedico@gentoo.org>2007-11-20 06:31:36 +0000
commit4c655bdcf1279174e478153f3503fcd68de0049c (patch)
treef9dd44a26fea80c82f12347cfb8261aee5507409
parent07b631ab910e400cd5515f6f026deff5946dcd1f (diff)
downloadportage-4c655bdcf1279174e478153f3503fcd68de0049c.tar.gz
portage-4c655bdcf1279174e478153f3503fcd68de0049c.tar.bz2
portage-4c655bdcf1279174e478153f3503fcd68de0049c.zip
Don't make variables readonly during the "depend" phase.
svn path=/main/trunk/; revision=8540
-rwxr-xr-xbin/ebuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 0fcd5e304..af2b656b1 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -1645,7 +1645,7 @@ done
unset x
# Lock the dbkey variables after the global phase
-declare -r ${READONLY_EBUILD_METADATA}
+[ ${EBUILD_PHASE} != "depend" ] && declare -r ${READONLY_EBUILD_METADATA}
if hasq nostrip ${FEATURES} ${RESTRICT} || hasq strip ${RESTRICT}
then