summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD/PackingList.pm
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2004-07-22 23:53:54 +0000
committerMarc Espie <espie@cvs.openbsd.org>2004-07-22 23:53:54 +0000
commit5fe626d0b104267ea7cd6a3929b17dabd5ba174d (patch)
treee8e3466cb37bf2b6a8bf34e2a0214558d8d5ae73 /usr.sbin/pkg_add/OpenBSD/PackingList.pm
parentb7542ee629baaaf121e890fd6abc9a2270c77a1a (diff)
fast-scanner should now about dir/ too.
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 60972e84aa1..9e05c37e8b6 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.12 2004/07/20 18:58:41 espie Exp $
+# $OpenBSD: PackingList.pm,v 1.13 2004/07/22 23:53:53 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/;
+ next unless m/^\@cwd\b/ || m/^\@dirrm\b/ || m/^\@dir\b/ || m/^\@name\b/ || m/^[^\@].*\/$/;
&$cont($_);
}
}