projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f8c5b2
)
Avoid evaluation of values of variables in set_unless_changed().
author
Arfrever Frehtes Taifersar Arahesis
<Arfrever@Gentoo.Org>
Mon, 2 May 2011 20:17:15 +0000
(22:17 +0200)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 4 May 2011 19:54:19 +0000
(12:54 -0700)
bin/ebuild.sh
patch
|
blob
|
history
diff --git
a/bin/ebuild.sh
b/bin/ebuild.sh
index b6103424f20d1a46f03404e066dd84a0901a854b..f3349aec9f038cc802b4b60e4525b8a4d250df3d 100755
(executable)
--- 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
}