diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2014-05-20 05:46:14 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2014-05-20 05:46:14 +0000 |
commit | f293b681f38e9731abc5c75d5e180c319efd6182 (patch) | |
tree | 6f387f57b3eb225db881604986ba540a94293b78 /usr.sbin/pkg_add/OpenBSD/PkgCreate.pm | |
parent | 575ba4b9a4002d8218bcf2a9be19c60a9b9d2399 (diff) |
makewhatis being now external, it no longer requires picky/test/check_dir.
It also can't handle too many manpages at once (shell limit) so hand-feed
it (problem spotted by landry@).
Some tests by schwarze@.
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/PkgCreate.pm')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/PkgCreate.pm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm b/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm index 8323baea297..2e9b61d6c01 100644 --- a/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm +++ b/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm @@ -1,6 +1,6 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: PkgCreate.pm,v 1.105 2014/04/18 10:00:48 schwarze Exp $ +# $OpenBSD: PkgCreate.pm,v 1.106 2014/05/20 05:46:13 espie Exp $ # # Copyright (c) 2003-2014 Marc Espie <espie@openbsd.org> # @@ -1283,8 +1283,7 @@ sub finish_manpages my ($self, $state, $plist) = @_; $plist->grab_manpages($state); if (defined $state->{manpages}) { - $state->system(OpenBSD::Paths->makewhatis, '-t', '--', - @{$state->{manpages}}); + $state->run_makewhatis(['-t'], $state->{manpages}); } if (defined $state->{mandir}) { |