From: Brian Harring Date: Tue, 4 Oct 2005 14:31:50 +0000 (-0000) Subject: don't declare -r the contents, declare -r the var name. X-Git-Tag: v2.0.53_rc4_2111~15 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3c305f6e2579a2cb855f4b47c1efb7ccf9a92ef9;p=portage.git don't declare -r the contents, declare -r the var name. svn path=/main/branches/2.0/; revision=2085 --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index ca47396ba..c06876eaa 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1734,7 +1734,7 @@ export S=${WORKDIR}/${P} unset E_IUSE E_DEPEND E_RDEPEND E_CDEPEND E_PDEPEND for x in T P PN PV PVR PR A D EBUILD EMERGE_FROM O PPID FILESDIR PORTAGE_TMPDIR; do - [[ ${!x-UNSET_VAR} != UNSET_VAR ]] && declare -r ${!x} + [[ ${!x-UNSET_VAR} != UNSET_VAR ]] && declare -r ${x} done unset x