Revert "xbps-src: install_pkg_from_repos: run cmd through eval."

This reverts commit c818dcd511.

Shell redirection happens again with that commit, so reverted for now.
This commit is contained in:
Juan RP 2011-11-10 11:35:48 +01:00
parent 0a04f4613b
commit 6c900c5011

View file

@ -53,7 +53,7 @@ install_pkg_from_repos()
tmplogf=$(mktemp)
tmpdepf=$(mktemp)
echo "'${1}'" > $tmpdepf
eval ${cmd} $(cat $tmpdepf) >$tmplogf 2>&1
${cmd} $(cat $tmpdepf) >$tmplogf 2>&1
rval=$?
rm -f $tmpdepf
if [ $rval -ne 0 -a $rval -ne 6 ]; then