From 6c900c50116bdf7df32c0d0c8382684ceb108941 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 10 Nov 2011 11:35:48 +0100 Subject: [PATCH] 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. --- xbps-src/shutils/builddep_funcs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xbps-src/shutils/builddep_funcs.sh b/xbps-src/shutils/builddep_funcs.sh index dddd732c10..bfb7a7f27b 100644 --- a/xbps-src/shutils/builddep_funcs.sh +++ b/xbps-src/shutils/builddep_funcs.sh @@ -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