diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2010-10-27 14:35:57 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2010-10-27 14:35:57 +0000 |
commit | 808c32a2ecb1aa7c029c03e3b8198fcbab9749f5 (patch) | |
tree | c93cbd89e9a4e8c71e06d5b85770e459603bfda3 /usr.sbin/pkg_add/OpenBSD/PackingList.pm | |
parent | 5b8c96555138d6ad7cf7e425bb7a05b3d2c27bad (diff) |
initial scaffolding for @rcscript: for now, acts like normal files,
but allow absolute pathnames (treat that as an implicit @cwd).
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/PackingList.pm')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/PackingList.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackingList.pm b/usr.sbin/pkg_add/OpenBSD/PackingList.pm index 7ac5a5db2c4..d5d1d7a05b8 100644 --- a/usr.sbin/pkg_add/OpenBSD/PackingList.pm +++ b/usr.sbin/pkg_add/OpenBSD/PackingList.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: PackingList.pm,v 1.109 2010/07/31 11:30:50 espie Exp $ +# $OpenBSD: PackingList.pm,v 1.110 2010/10/27 14:35:56 espie Exp $ # # Copyright (c) 2003-2010 Marc Espie <espie@openbsd.org> # @@ -197,7 +197,7 @@ sub FilesOnly my ($fh, $cont) = @_; my $_; while (<$fh>) { - next unless m/^\@(?:cwd|name|info|man|file|lib|shell|sample|bin)\b/o || !m/^\@/o; + next unless m/^\@(?:cwd|name|info|man|file|lib|shell|sample|bin|rcscript)\b/o || !m/^\@/o; &$cont($_); } } |