From 070eb321301fd65b301249fbe659c3e847a5fccb Mon Sep 17 00:00:00 2001 From: espie Date: Sun, 29 Dec 2013 13:40:54 +0000 Subject: [PATCH] fix sign-while-creating mode --- usr.sbin/pkg_add/OpenBSD/PkgCreate.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm b/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm index 8b54b0e0783..aa977de2bca 100644 --- a/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm +++ b/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm @@ -1,6 +1,6 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: PkgCreate.pm,v 1.73 2013/12/25 14:38:56 espie Exp $ +# $OpenBSD: PkgCreate.pm,v 1.74 2013/12/29 13:40:54 espie Exp $ # # Copyright (c) 2003-2010 Marc Espie # @@ -1464,7 +1464,7 @@ sub parse_and_run $state->{bad} = 0; if (defined $state->{signer}) { - $self->add_signature($plist); + $self->add_signature($plist, $state); $plist->save if $regen_package; } -- 2.20.1