mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-22 00:42:06 +01:00
parent
2351b76d4e
commit
3f9fdaca2f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=38118
@ -26,7 +26,7 @@
|
||||
#
|
||||
# /usr/bin/catman - preformat man pages
|
||||
#
|
||||
# $Id: catman.perl,v 1.10 1997/02/22 15:47:00 peter Exp $
|
||||
# $Id: catman.perl,v 1.11 1998/05/01 13:27:27 des Exp $
|
||||
|
||||
|
||||
sub usage {
|
||||
@ -176,7 +176,7 @@ sub catdir_create {
|
||||
$catdir = &man2cat($subdir);
|
||||
if (-d $catdir) {
|
||||
return 1 if -w _;
|
||||
if (!chmod(755, $catdir)) {
|
||||
if (!chmod(0755, $catdir)) {
|
||||
warn "Cannot write $catdir, chmod: $!\n";
|
||||
$exit = 1;
|
||||
return 0;
|
||||
|
@ -26,13 +26,13 @@
|
||||
#
|
||||
# makewhatis -- update the whatis database in the man directories.
|
||||
#
|
||||
# $Id: makewhatis.perl,v 1.16 1997/03/14 21:58:43 wosch Exp $
|
||||
# $Id: makewhatis.perl,v 1.17 1997/07/04 22:32:59 wosch Exp $
|
||||
|
||||
|
||||
sub usage {
|
||||
|
||||
warn <<EOF;
|
||||
usage: makewhatis [-a|-append ] [-h|-help] [-i|-indent colum]
|
||||
usage: makewhatis [-a|-append ] [-h|-help] [-i|-indent column]
|
||||
[-n|-name name] [-o|-outfile file] [-v|-verbose]
|
||||
[directories ...]
|
||||
EOF
|
||||
|
Loading…
Reference in New Issue
Block a user