diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2004-07-22 23:53:54 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2004-07-22 23:53:54 +0000 |
commit | 5fe626d0b104267ea7cd6a3929b17dabd5ba174d (patch) | |
tree | e8e3466cb37bf2b6a8bf34e2a0214558d8d5ae73 /usr.sbin/pkg_add/OpenBSD/PackingList.pm | |
parent | b7542ee629baaaf121e890fd6abc9a2270c77a1a (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.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 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($_); } } |