summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD/PackingList.pm
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2004-08-03 12:29:46 +0000
committerMarc Espie <espie@cvs.openbsd.org>2004-08-03 12:29:46 +0000
commit10fa5eb30005e85a8222b78e57b41847bcbfe059 (patch)
tree36e467f34b3aef489e76193050bfdb04d86ed54c /usr.sbin/pkg_add/OpenBSD/PackingList.pm
parent57bba588fb2f5a81bccbc1d52774403db366f7cc (diff)
Support @sample, tested by fries@.
@mandir and @fontdir keywords recognition.
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/PackingList.pm')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PackingList.pm4
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 b12b1ac136c..b37e46018c9 100644
--- a/usr.sbin/pkg_add/OpenBSD/PackingList.pm
+++ b/usr.sbin/pkg_add/OpenBSD/PackingList.pm
@@ -1,4 +1,4 @@
-# $OpenBSD: PackingList.pm,v 1.14 2004/08/02 12:12:36 espie Exp $
+# $OpenBSD: PackingList.pm,v 1.15 2004/08/03 12:29:45 espie Exp $
#
# Copyright (c) 2003 Marc Espie.
#
@@ -73,7 +73,7 @@ sub DirrmOnly
my ($fh, $cont) = @_;
local $_;
while (<$fh>) {
- next unless m/^\@cwd\b/ || m/^\@dirrm\b/ || m/^\@dir\b/ || m/^\@name\b/ || m/^[^\@].*\/$/;
+ next unless m/^\@cwd\b/ || m/^\@dirrm\b/ || m/^\@dir\b/ || m/^\@fontdir\b/ || m/^\@name\b/ || m/^[^\@].*\/$/;
&$cont($_);
}
}