Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Oct 2011 06:23:11 +0000 (UTC)
From:      Colin Percival <cperciva@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r226650 - head/usr.sbin/freebsd-update
Message-ID:  <201110230623.p9N6NBEC014756@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}"
 



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