svn commit: r258724 - in stable: 8/usr.sbin/freebsd-update 9/usr.sbin/freebsd-update

Xin LI delphij at FreeBSD.org
Thu Nov 28 22:08:42 UTC 2013


Author: delphij
Date: Thu Nov 28 22:08:41 2013
New Revision: 258724
URL: http://svnweb.freebsd.org/changeset/base/258724

Log:
  MFC r257879:
  
  Fix typo in r256646: We want to generate lists of directories in
  INDEX-OLD and INDEX-NEW and compare them, not generate the same
  list of directories from INDEX-OLD twice...
  
  Pointy hats to: cperciva & everybody who didn't proofread
  		EN-13:04 enough
  Errata Notice:	FreeBSD-EN-13:05.freebsd-update

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

Changes in other areas also in this revision:
Modified:
  stable/8/usr.sbin/freebsd-update/freebsd-update.sh
Directory Properties:
  stable/8/usr.sbin/freebsd-update/   (props changed)

Modified: stable/9/usr.sbin/freebsd-update/freebsd-update.sh
==============================================================================
--- stable/9/usr.sbin/freebsd-update/freebsd-update.sh	Thu Nov 28 22:06:37 2013	(r258723)
+++ stable/9/usr.sbin/freebsd-update/freebsd-update.sh	Thu Nov 28 22:08:41 2013	(r258724)
@@ -2884,8 +2884,8 @@ again to finish installing updates.
 	install_delete INDEX-OLD INDEX-NEW || return 1
 
 	# Remove old directories
-	grep -vE '^/boot/' $1/INDEX-OLD |
-	    grep -E '^[^|]+\|d\|' > INDEX-OLD
+	grep -vE '^/boot/' $1/INDEX-NEW |
+	    grep -E '^[^|]+\|d\|' > INDEX-NEW
 	grep -vE '^/boot/' $1/INDEX-OLD |
 	    grep -E '^[^|]+\|d\|' > INDEX-OLD
 	install_delete INDEX-OLD INDEX-NEW || return 1


More information about the svn-src-stable-9 mailing list