projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a706752
)
Fix broken quoting in eval statements. Thanks to Arfrever.
author
Zac Medico
<zmedico@gentoo.org>
Fri, 8 Aug 2008 20:38:43 +0000
(20:38 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 8 Aug 2008 20:38:43 +0000
(20:38 -0000)
svn path=/main/trunk/; revision=11354
bin/ebuild.sh
patch
|
blob
|
history
diff --git
a/bin/ebuild.sh
b/bin/ebuild.sh
index d0a01d12de70fb6659b3d1e5319d29565125af1f..5cf3e0f92e63f0f6838c7771088298d10859f78c 100755
(executable)
--- a/
bin/ebuild.sh
+++ b/
bin/ebuild.sh
@@
-1264,7
+1264,7
@@
EXPORT_FUNCTIONS() {
fi
while [ "$1" ]; do
debug-print "EXPORT_FUNCTIONS: ${1} -> ${ECLASS}_${1}"
- eval "$1() { ${ECLASS}_$1
"\$@
" ; }" > /dev/null
+ eval "$1() { ${ECLASS}_$1
\"\$@\
" ; }" > /dev/null
shift
done
}
@@
-1413,7
+1413,7
@@
_ebuild_phase_funcs() {
for x in pkg_nofetch src_unpack src_test ; do
[[ $(type -t $x) = function ]] || \
- eval "$x() { _eapi0_$x
"$@
" ; }"
+ eval "$x() { _eapi0_$x
\"\$@\
" ; }"
done
case $eapi in