summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/pkg_create
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2005-09-24 12:52:20 +0000
committerMarc Espie <espie@cvs.openbsd.org>2005-09-24 12:52:20 +0000
commitd80f4bd68c5724cc57c8c65063c33de5415cf483 (patch)
tree3e66a889b7d973c8c7b0bc6bd72337fa979e4268 /usr.sbin/pkg_add/pkg_create
parent31dea6e6f15e461783f2b4fb47f12d5d9b1bee31 (diff)
pass actual items to prepare_long and check_name so that we can also
verify that modes/groups/owners are correct (code to come)
Diffstat (limited to 'usr.sbin/pkg_add/pkg_create')
-rw-r--r--usr.sbin/pkg_add/pkg_create4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/pkg_create b/usr.sbin/pkg_add/pkg_create
index 296b18b45e0..c784d741972 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.40 2005/09/11 10:12:01 espie Exp $
+# $OpenBSD: pkg_create,v 1.41 2005/09/24 12:52:18 espie Exp $
#
# Copyright (c) 2003-2004 Marc Espie <espie@openbsd.org>
#
@@ -41,7 +41,7 @@ sub archive
my ($self, $arc, $base, $verbose) = @_;
if (defined $arc) {
- my $o = $arc->prepare_long($self->{name});
+ my $o = $arc->prepare_long($self);
$o->write();
}
if ($verbose) {