diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2014-12-27 23:58:53 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2014-12-27 23:58:53 +0000 |
commit | 3df9ce6141d49d2c19be1828ec44eb15c03ad533 (patch) | |
tree | e6ba75f1a5499f5b7d62fd7005c18ca98e6e214a /usr.sbin | |
parent | 0e22d1406ac7304bf959f9149e920e2460332019 (diff) |
make it at least work a wee little bit.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/FwUpdate.pm | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/FwUpdate.pm b/usr.sbin/pkg_add/OpenBSD/FwUpdate.pm index 44319862f11..1e16608de95 100644 --- a/usr.sbin/pkg_add/OpenBSD/FwUpdate.pm +++ b/usr.sbin/pkg_add/OpenBSD/FwUpdate.pm @@ -1,7 +1,7 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: FwUpdate.pm,v 1.1 2014/12/27 16:05:42 espie Exp $ +# $OpenBSD: FwUpdate.pm,v 1.2 2014/12/27 23:58:52 espie Exp $ # # Copyright (c) 2014 Marc Espie <espie@openbsd.org> # @@ -57,10 +57,12 @@ sub handle_options $state->{destdir} = ''; $state->{wantntogo} = 0; $state->{subst}->add('repair', 1); + $state->finish_init; } sub finish_init { + my $state = shift; $ENV{PKG_PATH} = $state->{path}; if ($state->verbose && !$state->opt('d')) { $state->say("PKG_PATH=#1", $state->{path}); @@ -162,8 +164,8 @@ sub mark_set_for_deletion sub do_quirks { my ($self, $state) = @_; - $self->SUPER::do_quirks($state); - $state->finish_init; +# $self->SUPER::do_quirks($state); +# $state->finish_init; } sub process_parameters |