diff --git a/infrastructure/package/check-common-dirs b/infrastructure/package/check-common-dirs index 9ba564ef1a9..fc0e4d0ead1 100644 --- a/infrastructure/package/check-common-dirs +++ b/infrastructure/package/check-common-dirs @@ -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 # # 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); } diff --git a/infrastructure/package/check-lib-depends b/infrastructure/package/check-lib-depends index f4d2701eccf..a39e8a5069f 100755 --- a/infrastructure/package/check-lib-depends +++ b/infrastructure/package/check-lib-depends @@ -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 # # 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; } diff --git a/infrastructure/package/find-all-conflicts b/infrastructure/package/find-all-conflicts index cd66939ea50..be2a0f44ead 100644 --- a/infrastructure/package/find-all-conflicts +++ b/infrastructure/package/find-all-conflicts @@ -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);