Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Nov 2017 01:50:23 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r326082 - head/usr.sbin/freebsd-update
Message-ID:  <201711220150.vAM1oNcH096346@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Wed Nov 22 01:50:23 2017
New Revision: 326082
URL: https://svnweb.freebsd.org/changeset/base/326082

Log:
  freebsd-update: do not duplicate patchlist entries
  
  PR:		221079
  Submitted by:	Masachika ISHIZUKA
  Submitted by:	ota@j.email.ne.jp
  Reviewed by:	cperciva
  MFC after:	1 week

Modified:
  head/usr.sbin/freebsd-update/freebsd-update.sh

Modified: head/usr.sbin/freebsd-update/freebsd-update.sh
==============================================================================
--- head/usr.sbin/freebsd-update/freebsd-update.sh	Wed Nov 22 00:37:14 2017	(r326081)
+++ head/usr.sbin/freebsd-update/freebsd-update.sh	Wed Nov 22 01:50:23 2017	(r326082)
@@ -1052,7 +1052,7 @@ fetch_make_patchlist () {
 				continue
 			fi
 			echo "${X}|${Y}"
-		done | uniq
+		done | sort -u
 }
 
 # Print user-friendly progress statistics



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