diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2016-05-09 14:17:25 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2016-05-09 14:17:25 +0000 |
commit | 5b2393bf136f40bda718e822753e23662a1205b8 (patch) | |
tree | 816ee98d06322206d02d22b61057a786ebe3d7d0 /usr.sbin/pkg_add | |
parent | ca9a097c1710ad8c87405fd02e5de9072f1c3dba (diff) |
prepare for API tweaks of OpenBSD::MkTemp
okay afresh1@
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/PkgSign.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PkgSign.pm b/usr.sbin/pkg_add/OpenBSD/PkgSign.pm index 6119ccc030c..e2d8f4ebe66 100644 --- a/usr.sbin/pkg_add/OpenBSD/PkgSign.pm +++ b/usr.sbin/pkg_add/OpenBSD/PkgSign.pm @@ -1,6 +1,6 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: PkgSign.pm,v 1.7 2014/10/11 08:41:06 espie Exp $ +# $OpenBSD: PkgSign.pm,v 1.8 2016/05/09 14:17:24 espie Exp $ # # Copyright (c) 2003-2014 Marc Espie <espie@openbsd.org> # @@ -97,7 +97,7 @@ sub sign_existing_package $plist->set_infodir($dir); $state->add_signature($plist); $plist->save; - my $tmp = OpenBSD::Temp::permanent_file($output, "pkg"); + my (undef, $tmp) = OpenBSD::Temp::permanent_file($output, "pkg"); my $wrarc = $state->create_archive($tmp, "."); my $fh; |