diff options
Diffstat (limited to 'usr.sbin/pkg_add/pkg_create')
-rw-r--r-- | usr.sbin/pkg_add/pkg_create | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/pkg_create b/usr.sbin/pkg_add/pkg_create index 5dd429c982b..8e5520b8d82 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.35 2005/06/26 11:24:06 espie Exp $ +# $OpenBSD: pkg_create,v 1.36 2005/08/07 14:18:04 espie Exp $ # # Copyright (c) 2003-2004 Marc Espie <espie@openbsd.org> # @@ -25,6 +25,7 @@ use OpenBSD::md5; use OpenBSD::Temp; use OpenBSD::Error; use OpenBSD::Ustar; +use OpenBSD::ArcCheck; use Symbol; use File::Basename; @@ -40,7 +41,7 @@ sub archive my ($self, $arc, $base, $verbose) = @_; if (defined $arc) { - my $o = $arc->prepare($self->{name}); + my $o = $arc->prepare_long($self->{name}); $o->write(); } if ($verbose) { |