Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jan 2019 22:25:52 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r343414 - stable/12/usr.sbin/freebsd-update
Message-ID:  <201901242225.x0OMPqeh010469@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Thu Jan 24 22:25:52 2019
New Revision: 343414
URL: https://svnweb.freebsd.org/changeset/base/343414

Log:
  MFC r339960 (cem): freebsd-update: add a progress report
  
  for the "fetching files..."
  
  After patching step is done.
  
  PR:		232857
  Submitted by:	mat

Modified:
  stable/12/usr.sbin/freebsd-update/freebsd-update.sh
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/usr.sbin/freebsd-update/freebsd-update.sh
==============================================================================
--- stable/12/usr.sbin/freebsd-update/freebsd-update.sh	Thu Jan 24 22:09:26 2019	(r343413)
+++ stable/12/usr.sbin/freebsd-update/freebsd-update.sh	Thu Jan 24 22:25:52 2019	(r343414)
@@ -1888,7 +1888,7 @@ fetch_files () {
 		echo ${NDEBUG} "files... "
 		lam -s "${FETCHDIR}/f/" - -s ".gz" < filelist |
 		    xargs ${XARGST} ${PHTTPGET} ${SERVERNAME}	\
-		    2>${QUIETREDIR}
+			2>${STATSREDIR} | fetch_progress
 
 		while read Y; do
 			if ! [ -f ${Y}.gz ]; then



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901242225.x0OMPqeh010469>