Date: Mon, 22 Dec 2014 22:11:46 +0000 (UTC) From: Dag-Erling Smørgrav <des@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r276089 - stable/8/usr.sbin/freebsd-update Message-ID: <201412222211.sBMMBkkd094493@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: des Date: Mon Dec 22 22:11:45 2014 New Revision: 276089 URL: https://svnweb.freebsd.org/changeset/base/276089 Log: Strip trailing / characters from paths in "not present" index entries. Errata: FreeBSD-EN-14:13.freebsd-update Approved by: so@ Modified: stable/8/usr.sbin/freebsd-update/freebsd-update.sh Modified: stable/8/usr.sbin/freebsd-update/freebsd-update.sh ============================================================================== --- stable/8/usr.sbin/freebsd-update/freebsd-update.sh Mon Dec 22 22:11:39 2014 (r276088) +++ stable/8/usr.sbin/freebsd-update/freebsd-update.sh Mon Dec 22 22:11:45 2014 (r276089) @@ -1372,6 +1372,7 @@ fetch_filter_metadata () { # matter, since we add a leading "/" when we use paths later. cut -f 3- -d '|' $1 | sed -e 's,/|d|,|d|,' | + sed -e 's,/|-|,|-|,' | sort -u > $1.tmp # Figure out which lines to ignore and remove them.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412222211.sBMMBkkd094493>