svn commit: r257879 - head/usr.sbin/freebsd-update
Colin Percival
cperciva at FreeBSD.org
Sat Nov 9 04:50:06 UTC 2013
Author: cperciva
Date: Sat Nov 9 04:50:05 2013
New Revision: 257879
URL: http://svnweb.freebsd.org/changeset/base/257879
Log:
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
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 Sat Nov 9 04:40:32 2013 (r257878)
+++ head/usr.sbin/freebsd-update/freebsd-update.sh Sat Nov 9 04:50:05 2013 (r257879)
@@ -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-head
mailing list