From 4c655bdcf1279174e478153f3503fcd68de0049c Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 20 Nov 2007 06:31:36 +0000 Subject: [PATCH] Don't make variables readonly during the "depend" phase. svn path=/main/trunk/; revision=8540 --- bin/ebuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2