aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2018-07-27 23:15:53 -0700
committerZac Medico <zmedico@gentoo.org>2018-07-27 23:15:53 -0700
commitb8c070708bbc6d0db544d4b04b530d6d03d39bb5 (patch)
tree05e070fce592c1ed4556a4894e99e2ce45d89c11
parentwebrsync: support emerge-delta-webrsync (bug 661838) (diff)
downloadportage-b8c07070.tar.gz
portage-b8c07070.tar.bz2
portage-b8c07070.zip
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")
-rwxr-xr-xmisc/emerge-delta-webrsync2
1 files changed, 1 insertions, 1 deletions
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