From ede7d4df88910573f291a98fe8069c85f773f5bb Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Thu, 23 Jan 2014 21:05:27 +0000 Subject: oops, pkg_sign is unhappy without -o. Minimal fix, in order not to create too much conflict with pending work... (problem noticed by naddy@) --- usr.sbin/pkg_add/OpenBSD/PkgSign.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.sbin/pkg_add') diff --git a/usr.sbin/pkg_add/OpenBSD/PkgSign.pm b/usr.sbin/pkg_add/OpenBSD/PkgSign.pm index 6490b063680..726f3bd1799 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.3 2014/01/23 12:32:40 espie Exp $ +# $OpenBSD: PkgSign.pm,v 1.4 2014/01/23 21:05:26 espie Exp $ # # Copyright (c) 2003-2014 Marc Espie # @@ -45,6 +45,7 @@ sub handle_options if (!defined $state->{signer}) { $state->usage("Can't invoke command without valid signing parameters"); } + $state->{output_dir} //= "."; if (!-d $state->{output_dir}) { require File::Path; File::Path::make_path($state->{output_dir}) -- cgit v1.2.3