From: Arfrever Frehtes Taifersar Arahesis Date: Mon, 2 May 2011 20:17:15 +0000 (+0200) Subject: Avoid evaluation of values of variables in set_unless_changed(). X-Git-Tag: v2.2.0_alpha31~14 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d724545334185679e9c7d13c8b3feaa735e1fd48;p=portage.git Avoid evaluation of values of variables in set_unless_changed(). --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index b6103424f..f3349aec9 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1654,7 +1654,7 @@ set_unless_changed() { variable="${argument%%=*}" value="${argument#*=}" if eval "[[ \${${variable}} == \$(env -u ${variable} portageq envvar ${variable}) ]]"; then - eval "${variable}=\"${value}\"" + eval "${variable}=\"\${value}\"" fi done }