diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2007-06-16 09:29:38 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2007-06-16 09:29:38 +0000 |
commit | 5f0af5a6151621e365e01d103ec8c80f20fd74ac (patch) | |
tree | 882757f72b8485f33ec9cd9bdbd69fb019c381eb /usr.sbin/pkg_add/pkg_merge | |
parent | 5ba6b2ba2df8fc791ddaed159225dbbcdf674cf5 (diff) |
use OpenBSD::Paths contents
Diffstat (limited to 'usr.sbin/pkg_add/pkg_merge')
-rw-r--r-- | usr.sbin/pkg_add/pkg_merge | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/pkg_merge b/usr.sbin/pkg_add/pkg_merge index 05dde5863bf..c8bd09d61b9 100644 --- a/usr.sbin/pkg_add/pkg_merge +++ b/usr.sbin/pkg_add/pkg_merge @@ -22,6 +22,7 @@ use OpenBSD::Getopt; use OpenBSD::Error; use OpenBSD::Ustar; use OpenBSD::ArcCheck; +use OpenBSD::Paths; use File::Copy; use File::Path; @@ -145,7 +146,7 @@ my @tomerge; my $prefix = 'a'; my $allprefix = ''; -open( my $outfh, "|gzip -c >$opt_o"); +open( my $outfh, "|-", OpenBSD::Paths->gzip, "-o", $opt_o); my $wrarc = OpenBSD::Ustar->new($outfh, "."); for my $pkgname (@ARGV) { |