diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2021-11-21 10:15:53 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2021-11-21 10:15:53 +0000 |
commit | 5d6d6ebc4f519b7c328f6341a6e16a2977608279 (patch) | |
tree | baa3f272d5aa7d4ecde8a32a75bcd3a280d9f597 /usr.sbin/pkg_add | |
parent | c3fbbd6547b779a788e6d4c30d4d5374c7b2ed2b (diff) |
temporarily reallow "empty" flavor parts so that rsync-- works again
(I really need to split that code off)
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/PkgSpec.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PkgSpec.pm b/usr.sbin/pkg_add/OpenBSD/PkgSpec.pm index 42a17cadc4a..20ed30f61b1 100644 --- a/usr.sbin/pkg_add/OpenBSD/PkgSpec.pm +++ b/usr.sbin/pkg_add/OpenBSD/PkgSpec.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: PkgSpec.pm,v 1.49 2021/11/17 10:59:13 espie Exp $ +# $OpenBSD: PkgSpec.pm,v 1.50 2021/11/21 10:15:52 espie Exp $ # # Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org> # @@ -203,7 +203,7 @@ sub parse (?:\>|\>\=|\<\=|\<|\=)?\d[^-%]* # optional op + version |\* # or any version ) - (?:\-([^%]+))? # optional flavor part + (?:\-([^%]*))? # optional flavor part $/x) { return undef; } |