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

Dag-Erling Smørgrav des at FreeBSD.org
Sat Oct 19 09:40:30 UTC 2013


Author: des
Date: Sat Oct 19 09:40:29 2013
New Revision: 256767
URL: http://svnweb.freebsd.org/changeset/base/256767

Log:
  Allow ~ in file names so libtool droppings in contrib don't break updates.
  It has happened twice now, and is likely to happen again.
  
  Errata notice candidate.

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 Oct 19 08:20:00 2013	(r256766)
+++ head/usr.sbin/freebsd-update/freebsd-update.sh	Sat Oct 19 09:40:29 2013	(r256767)
@@ -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-all mailing list