aboutsummaryrefslogtreecommitdiffstats
path: root/usr.sbin/freebsd-update/freebsd-update.sh
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2014-12-23 22:53:03 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2014-12-23 22:53:03 +0000
commiteec2228f5545242471ebda48e26e79eb85156ee5 (patch)
tree2a94c6b6551f656a353dd6ab147668e43ecde45c /usr.sbin/freebsd-update/freebsd-update.sh
parente9e69dbafd7921c68a66e87702c0583a2be20823 (diff)
downloadsrc-releng/9.1.tar.gz
src-releng/9.1.zip
[SA-14:31] Fix multiple vulnerabilities in NTP suite.releng/9.1
[EN-14:13] Fix directory deletion issue in freebsd-update. Approved by: so
Notes
Notes: svn path=/releng/9.1/; revision=276155
Diffstat (limited to 'usr.sbin/freebsd-update/freebsd-update.sh')
-rw-r--r--usr.sbin/freebsd-update/freebsd-update.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/freebsd-update/freebsd-update.sh b/usr.sbin/freebsd-update/freebsd-update.sh
index 206988cf7377..f8129fff46ff 100644
--- a/usr.sbin/freebsd-update/freebsd-update.sh
+++ b/usr.sbin/freebsd-update/freebsd-update.sh
@@ -1387,6 +1387,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.