diff options
author | 2016-05-09 14:17:24 +0000 | |
---|---|---|
committer | 2016-05-09 14:17:24 +0000 | |
commit | cfbcdbb5c14b21c034dda51b20744f70121abffb (patch) | |
tree | 29180fd3ca977a2e545b13438ee0a97ae06bf487 | |
parent | Fix mangled function signatures. (diff) | |
download | wireguard-openbsd-cfbcdbb5c14b21c034dda51b20744f70121abffb.tar.xz wireguard-openbsd-cfbcdbb5c14b21c034dda51b20744f70121abffb.zip |
prepare for API tweaks of OpenBSD::MkTemp
okay afresh1@
-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; |