From: espie Date: Wed, 8 Jun 2022 14:57:12 +0000 (+0000) Subject: recognize @extraglob for later X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=02294408b698891e161ac446f4327124cb2fa941;p=openbsd recognize @extraglob for later okay sthen@ --- diff --git a/usr.sbin/pkg_add/OpenBSD/PackingElement.pm b/usr.sbin/pkg_add/OpenBSD/PackingElement.pm index fcbd23d6852..9ed19f15fe7 100644 --- a/usr.sbin/pkg_add/OpenBSD/PackingElement.pm +++ b/usr.sbin/pkg_add/OpenBSD/PackingElement.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: PackingElement.pm,v 1.281 2022/05/26 21:08:52 espie Exp $ +# $OpenBSD: PackingElement.pm,v 1.282 2022/06/08 14:57:12 espie Exp $ # # Copyright (c) 2003-2014 Marc Espie # @@ -1817,6 +1817,13 @@ sub destate &OpenBSD::PackingElement::Extra::destate; } +package OpenBSD::PackingElement::ExtraGlob; +our @ISA=qw(OpenBSD::PackingElement::FileObject); + +sub keyword() { 'extraglob' } +sub absolute_okay() { 1 } +__PACKAGE__->register_with_factory; + package OpenBSD::PackingElement::SpecialFile; our @ISA=qw(OpenBSD::PackingElement::Unique);