From: Zac Medico Date: Mon, 19 Nov 2007 23:03:43 +0000 (-0000) Subject: Make AA, PF, and WORKDIR readonly. X-Git-Tag: v2.2_pre1~372 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=00de5226c55316a68f4d449ca70e544d57d0d621;p=portage.git Make AA, PF, and WORKDIR readonly. svn path=/main/trunk/; revision=8534 --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 023e3b0c6..8730a708c 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1537,7 +1537,8 @@ export S=${WORKDIR}/${P} unset E_IUSE E_DEPEND E_RDEPEND E_PDEPEND -for x in D T P PN PV PVR PR CATEGORY A EBUILD EMERGE_FROM FILESDIR PORTAGE_TMPDIR; do +for x in A AA CATEGORY D EBUILD EMERGE_FROM FILESDIR P PF PN PR \ + PORTAGE_TMPDIR PV PVR T WORKDIR; do [[ ${!x-UNSET_VAR} != UNSET_VAR ]] && declare -r ${x} done unset x