svn commit: r226650 - head/usr.sbin/freebsd-update
Colin Percival
cperciva at FreeBSD.org
Sun Oct 23 06:23:11 UTC 2011
Author: cperciva
Date: Sun Oct 23 06:23:11 2011
New Revision: 226650
URL: http://svn.freebsd.org/changeset/base/226650
Log:
Add '%' and '@' to the set of characters which can appear in path names.
Without this change, freebsd-update refuses to accept 9.0 metadata files.
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 Sun Oct 23 05:56:59 2011 (r226649)
+++ head/usr.sbin/freebsd-update/freebsd-update.sh Sun Oct 23 06:23:11 2011 (r226650)
@@ -1200,7 +1200,7 @@ fetch_metadata_sanity () {
# Some aliases to save space later: ${P} is a character which can
# appear in a path; ${M} is the four numeric metadata fields; and
# ${H} is a sha256 hash.
- P="[-+./:=_[[:alnum:]]"
+ P="[-+./:=%@_[[:alnum:]]"
M="[0-9]+\|[0-9]+\|[0-9]+\|[0-9]+"
H="[0-9a-f]{64}"
More information about the svn-src-head
mailing list