From: Zac Medico Date: Tue, 20 Nov 2007 06:31:36 +0000 (-0000) Subject: Don't make variables readonly during the "depend" phase. X-Git-Tag: v2.2_pre1~366 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4c655bdcf1279174e478153f3503fcd68de0049c;p=portage.git Don't make variables readonly during the "depend" phase. svn path=/main/trunk/; revision=8540 --- 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