tell all big analyzers they can forget about the packing-list.

This commit is contained in:
espie 2004-11-11 15:38:02 +00:00
parent 60ba9707ef
commit 5dc2fdab3a
3 changed files with 6 additions and 3 deletions

View File

@ -1,6 +1,6 @@
#!/usr/bin/perl
# $OpenBSD: check-common-dirs,v 1.4 2004/10/05 20:40:11 espie Exp $
# $OpenBSD: check-common-dirs,v 1.5 2004/11/11 15:38:02 espie Exp $
# Copyright (c) 2004 Marc Espie <espie@openbsd.org>
#
# Permission to use, copy, modify, and distribute this software for any
@ -180,6 +180,7 @@ for my $pkgname (@ARGV) {
$true_package->close();
my $plist = OpenBSD::PackingList->fromfile($dir.CONTENTS);
rmtree($dir);
$plist->forget();
analyze($plist, $db);
}

View File

@ -1,6 +1,6 @@
#!/usr/bin/perl
# $OpenBSD: check-lib-depends,v 1.2 2004/09/14 22:30:36 espie Exp $
# $OpenBSD: check-lib-depends,v 1.3 2004/11/11 15:38:02 espie Exp $
# Copyright (c) 2004 Marc Espie <espie@openbsd.org>
#
# Permission to use, copy, modify, and distribute this software for any
@ -207,6 +207,7 @@ sub do_pkg
analyze($plist, $db, $true_package, $system_libs, $logfile);
$true_package->close();
rmtree($dir);
$plist->forget();
return 1;
}

View File

@ -1,6 +1,6 @@
#!/usr/bin/perl
# $OpenBSD: find-all-conflicts,v 1.7 2004/02/12 13:55:45 espie Exp $
# $OpenBSD: find-all-conflicts,v 1.8 2004/11/11 15:38:02 espie Exp $
# Copyright (c) 2000
# Marc Espie. All rights reserved.
# Redistribution and use in source and binary forms, with or without
@ -89,6 +89,7 @@ for my $pkgname (@ARGV) {
$true_package->close();
my $plist = OpenBSD::PackingList->fromfile($dir.CONTENTS);
rmtree($dir);
$plist->forget();
$conflicts->{$plist->pkgname()} =
OpenBSD::PkgCfl->make_conflict_list($plist);
analyze($plist, $filehash);