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:
parent
0a04f4613b
commit
6c900c5011
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue