From b8c070708bbc6d0db544d4b04b530d6d03d39bb5 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 27 Jul 2018 23:15:53 -0700 Subject: emerge-delta-webrsync: fix vecho command substitution Since vecho now outputs to stderr, the output has to be redirected to stdout when command substitution is intended. Fixes: 2b6210463300 ("isolated-functions.sh: Ensure informational command output to stderr") --- misc/emerge-delta-webrsync | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'misc') diff --git a/misc/emerge-delta-webrsync b/misc/emerge-delta-webrsync index 14e5c7c55..8419e01a9 100755 --- a/misc/emerge-delta-webrsync +++ b/misc/emerge-delta-webrsync @@ -342,7 +342,7 @@ sync_local() { if type -P tarsync > /dev/null ; then local chown_opts="-o ${ownership%:*} -g ${ownership#*:}" chown ${ownership} "${repo_location}" > /dev/null 2>&1 || chown_opts="" - if ! tarsync $(__vecho -v) -s 1 ${chown_opts} \ + if ! tarsync $(__vecho -v 2>&1) -s 1 ${chown_opts} \ -e /distfiles -e /packages -e /local "${file}" "${repo_location}"; then eecho "tarsync failed; tarball is corrupt? (${file})" return 1 -- cgit v1.2.3-65-gdbad