summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-11-19 23:03:43 +0000
committerZac Medico <zmedico@gentoo.org>2007-11-19 23:03:43 +0000
commit00de5226c55316a68f4d449ca70e544d57d0d621 (patch)
tree5696192fc86245017458772eef04964f91530516
parent421dfb7fd2a5cf3477cdbff802a11784472762f5 (diff)
downloadportage-00de5226c55316a68f4d449ca70e544d57d0d621.tar.gz
portage-00de5226c55316a68f4d449ca70e544d57d0d621.tar.bz2
portage-00de5226c55316a68f4d449ca70e544d57d0d621.zip
Make AA, PF, and WORKDIR readonly.
svn path=/main/trunk/; revision=8534
-rwxr-xr-xbin/ebuild.sh3
1 files changed, 2 insertions, 1 deletions
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