Revert "xbps-src: install_pkg_from_repos: run cmd through eval."
This reverts commit c818dcd5117582deef4e20816a2337663691892e. Shell redirection happens again with that commit, so reverted for now.
This commit is contained in:
parent
0a04f4613b
commit
6c900c5011
@ -53,7 +53,7 @@ install_pkg_from_repos()
|
|||||||
tmplogf=$(mktemp)
|
tmplogf=$(mktemp)
|
||||||
tmpdepf=$(mktemp)
|
tmpdepf=$(mktemp)
|
||||||
echo "'${1}'" > $tmpdepf
|
echo "'${1}'" > $tmpdepf
|
||||||
eval ${cmd} $(cat $tmpdepf) >$tmplogf 2>&1
|
${cmd} $(cat $tmpdepf) >$tmplogf 2>&1
|
||||||
rval=$?
|
rval=$?
|
||||||
rm -f $tmpdepf
|
rm -f $tmpdepf
|
||||||
if [ $rval -ne 0 -a $rval -ne 6 ]; then
|
if [ $rval -ne 0 -a $rval -ne 6 ]; then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user