Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:2.1.9 commit in: bin/
Date: Wed, 04 May 2011 20:05:45
Message-Id: 8d113a9300bbdf94157529036eafd2902c810e07.zmedico@gentoo
1 commit: 8d113a9300bbdf94157529036eafd2902c810e07
2 Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Gentoo <DOT> Org>
3 AuthorDate: Mon May 2 20:17:15 2011 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Wed May 4 19:54:19 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=8d113a93
7
8 Avoid evaluation of values of variables in set_unless_changed().
9
10 ---
11 bin/ebuild.sh | 2 +-
12 1 files changed, 1 insertions(+), 1 deletions(-)
13
14 diff --git a/bin/ebuild.sh b/bin/ebuild.sh
15 index b610342..f3349ae 100755
16 --- a/bin/ebuild.sh
17 +++ b/bin/ebuild.sh
18 @@ -1654,7 +1654,7 @@ set_unless_changed() {
19 variable="${argument%%=*}"
20 value="${argument#*=}"
21 if eval "[[ \${${variable}} == \$(env -u ${variable} portageq envvar ${variable}) ]]"; then
22 - eval "${variable}=\"${value}\""
23 + eval "${variable}=\"\${value}\""
24 fi
25 done
26 }