From: Alec Warner Date: Tue, 6 Nov 2007 06:25:50 +0000 (-0000) Subject: remove O and PPID from being readonly. O is set python side (and we will hopefully... X-Git-Tag: v2.2_pre1~436 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1a680f7ebd9859d0a1a0db7fb242534abae5b2fe;p=portage.git remove O and PPID from being readonly. O is set python side (and we will hopefully stop being exported soon. PPID is ro by bash, so no need to declare it twice svn path=/main/trunk/; revision=8437 --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index bad2cacb1..30c6c958c 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1429,7 +1429,7 @@ export S=${WORKDIR}/${P} unset E_IUSE E_DEPEND E_RDEPEND E_PDEPEND -for x in T P PN PV PVR PR CATEGORY A EBUILD EMERGE_FROM O PPID FILESDIR PORTAGE_TMPDIR; do +for x in T P PN PV PVR PR CATEGORY A EBUILD EMERGE_FROM FILESDIR PORTAGE_TMPDIR; do [[ ${!x-UNSET_VAR} != UNSET_VAR ]] && declare -r ${x} done # Need to be able to change D in dyn_preinst due to the IMAGE stuff