summaryrefslogtreecommitdiffstats
path: root/usr.sbin/freebsd-update
diff options
context:
space:
mode:
authorkmoore <kmoore@FreeBSD.org>2015-03-12 06:41:01 +0000
committerkmoore <kmoore@FreeBSD.org>2015-03-12 06:41:01 +0000
commit3247c2766c86a7876d8d62285a7df7a0b4e936a3 (patch)
treefaacbac587a2be4ce445442c6b8f5a62d9515a98 /usr.sbin/freebsd-update
parent80ae4e9bf414acb8d6b633b6cbfdffaae29809c0 (diff)
downloadFreeBSD-src-3247c2766c86a7876d8d62285a7df7a0b4e936a3.zip
FreeBSD-src-3247c2766c86a7876d8d62285a7df7a0b4e936a3.tar.gz
- Include commas in valid file-name chars freebsd-update will support
Approved by: cperciva
Diffstat (limited to 'usr.sbin/freebsd-update')
-rw-r--r--usr.sbin/freebsd-update/freebsd-update.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/freebsd-update/freebsd-update.sh b/usr.sbin/freebsd-update/freebsd-update.sh
index 4c8891f..2434929 100644
--- a/usr.sbin/freebsd-update/freebsd-update.sh
+++ b/usr.sbin/freebsd-update/freebsd-update.sh
@@ -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}"
OpenPOWER on IntegriCloud