Make AA, PF, and WORKDIR readonly.
authorZac Medico <zmedico@gentoo.org>
Mon, 19 Nov 2007 23:03:43 +0000 (23:03 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 19 Nov 2007 23:03:43 +0000 (23:03 -0000)
svn path=/main/trunk/; revision=8534

bin/ebuild.sh

index 023e3b0c6eddac37fb26484c1a49bfb4c7cfd6d0..8730a708c13aecf518ff2639c85b5ff3e85def54 100755 (executable)
@@ -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