diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2007-04-29 11:09:30 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2007-04-29 11:09:30 +0000 |
commit | 16ba533515400205c7877b0cff33d6e7d6f57ad1 (patch) | |
tree | 0d84df8b2d9251318c42383c2606a611e0263aff /usr.sbin/pkg_add/pkg_create | |
parent | 21aa3452cd88d4bf64fcc6623307518ff82b5c87 (diff) |
replace $p->visit('method') calls with $p->method
now that it works.
Diffstat (limited to 'usr.sbin/pkg_add/pkg_create')
-rw-r--r-- | usr.sbin/pkg_add/pkg_create | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/pkg_create b/usr.sbin/pkg_add/pkg_create index 00a38a2257d..18258725036 100644 --- a/usr.sbin/pkg_add/pkg_create +++ b/usr.sbin/pkg_add/pkg_create @@ -1,6 +1,6 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: pkg_create,v 1.53 2007/04/15 10:17:29 espie Exp $ +# $OpenBSD: pkg_create,v 1.54 2007/04/29 11:09:29 espie Exp $ # # Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org> # @@ -453,7 +453,7 @@ if (defined $opt_L) { if ($regen_package) { my $v = 0; - $plist->visit('anything', \$v); + $plist->anything(\$v); if ($v != 0 || @contents != 1) { Usage "Exactly one single packing list is required"; } @@ -573,7 +573,7 @@ if (!defined $plist->{name}) { if (defined $opt_q) { if (defined $opt_Q) { - $plist->visit('print_file'); + $plist->print_file; } else { $plist->write(\*STDOUT); } |