From: espie Date: Sun, 24 May 2015 07:53:14 +0000 (+0000) Subject: pass subst to the installer state, so that -Dunsigned would work X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=7279417d34b3074a6912e0a42f8f4c5d972f943a;p=openbsd pass subst to the installer state, so that -Dunsigned would work --- diff --git a/usr.sbin/pkg_add/OpenBSD/PkgCheck.pm b/usr.sbin/pkg_add/OpenBSD/PkgCheck.pm index 0612f189ee7..5919e29d603 100644 --- a/usr.sbin/pkg_add/OpenBSD/PkgCheck.pm +++ b/usr.sbin/pkg_add/OpenBSD/PkgCheck.pm @@ -1,7 +1,7 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: PkgCheck.pm,v 1.55 2014/11/29 10:42:51 espie Exp $ +# $OpenBSD: PkgCheck.pm,v 1.56 2015/05/24 07:53:14 espie Exp $ # # Copyright (c) 2003-2014 Marc Espie # @@ -41,6 +41,7 @@ sub new my ($class, $mystate) = @_; my $state = Installer::State->new("pkg_check"); $state->{v} = $mystate->{v}; + $state->{subst} = $mystate->{subst}; $state->{interactive} = $mystate->{interactive}; $state->{destdir} = $mystate->{destdir}; bless { state => $state}, $class;