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.
This commit is contained in:
Dag-Erling Smørgrav 2013-10-19 09:40:29 +00:00
parent fb0e57b1a2
commit 0016a84955
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=256767

View File

@ -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}"