svn commit: r279901 - head/usr.sbin/freebsd-update

Kris Moore kmoore at FreeBSD.org
Thu Mar 12 06:41:02 UTC 2015


Author: kmoore (ports committer)
Date: Thu Mar 12 06:41:01 2015
New Revision: 279901
URL: https://svnweb.freebsd.org/changeset/base/279901

Log:
  - Include commas in valid file-name chars freebsd-update will support
  
  Approved by: cperciva

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	Thu Mar 12 06:25:41 2015	(r279900)
+++ head/usr.sbin/freebsd-update/freebsd-update.sh	Thu Mar 12 06:41:01 2015	(r279901)
@@ -1231,7 +1231,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