From 23dc7b6793ed429f9b16ecbfaa78ed0a2d92a5bc Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 8 Aug 2008 20:38:43 +0000 Subject: Fix broken quoting in eval statements. Thanks to Arfrever. svn path=/main/trunk/; revision=11354 --- bin/ebuild.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/ebuild.sh b/bin/ebuild.sh index d0a01d12d..5cf3e0f92 100755 --- 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 -- cgit v1.2.3-1-g7c22