summaryrefslogtreecommitdiffstats
path: root/distrib/syspatch
diff options
context:
space:
mode:
authortb <tb@openbsd.org>2020-05-24 16:48:35 +0000
committertb <tb@openbsd.org>2020-05-24 16:48:35 +0000
commitbbda8d7c110a09da1631f6dc786d33c2dfb3d500 (patch)
tree5aeae86b6b761de137d575eb71fe726f68fb98c9 /distrib/syspatch
parentRelax the filename checks to allow dashes as well. Starting with (diff)
downloadwireguard-openbsd-bbda8d7c110a09da1631f6dc786d33c2dfb3d500.tar.xz
wireguard-openbsd-bbda8d7c110a09da1631f6dc786d33c2dfb3d500.zip
Adjust the sanity check for patch file names to allow a hyphen.
ok aja
Diffstat (limited to 'distrib/syspatch')
-rw-r--r--distrib/syspatch/bsd.syspatch.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/syspatch/bsd.syspatch.mk b/distrib/syspatch/bsd.syspatch.mk
index 04265a1dab5..15d09667eda 100644
--- a/distrib/syspatch/bsd.syspatch.mk
+++ b/distrib/syspatch/bsd.syspatch.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.syspatch.mk,v 1.25 2019/05/12 15:30:18 robert Exp $
+# $OpenBSD: bsd.syspatch.mk,v 1.26 2020/05/24 16:48:35 tb Exp $
#
# Copyright (c) 2016-2017 Robert Nagy <robert@openbsd.org>
#
@@ -76,7 +76,7 @@ depend:
cleandir: clean
${_FAKE_COOKIE}:
-.if !empty(ERRATA:C/[[:digit:]]{3}_[[:alnum:]_]+//)
+.if !empty(ERRATA:C/[[:digit:]]{3}_[[:alnum:]_-]+//)
@{ echo "***> invalid errata format: ${ERRATA}"; \
exit 1; };
.endif