diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-11-20 06:31:36 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-11-20 06:31:36 +0000 |
commit | 4c655bdcf1279174e478153f3503fcd68de0049c (patch) | |
tree | f9dd44a26fea80c82f12347cfb8261aee5507409 | |
parent | 07b631ab910e400cd5515f6f026deff5946dcd1f (diff) | |
download | portage-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-x | bin/ebuild.sh | 2 |
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 |