xbps-src: install_pkg_from_repos: run cmd through eval.
This commit is contained in:
parent
ceabb62f9a
commit
c818dcd511
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
|
||||||
${cmd} $(cat $tmpdepf) >$tmplogf 2>&1
|
eval ${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