diff options
author | thepish <thepish@FreeBSD.org> | 1998-08-05 03:44:46 +0000 |
---|---|---|
committer | thepish <thepish@FreeBSD.org> | 1998-08-05 03:44:46 +0000 |
commit | e66006ff45f4806b2bbc7cc137df500384d1bd20 (patch) | |
tree | ad5908dc10a3a7c5a9868017a050180026fad976 /gnu/usr.bin | |
parent | 0b5e49e08497df0474dbcdb26c36e39a9cbbb325 (diff) | |
download | FreeBSD-src-e66006ff45f4806b2bbc7cc137df500384d1bd20.zip FreeBSD-src-e66006ff45f4806b2bbc7cc137df500384d1bd20.tar.gz |
PR: 7488
Submitted by: lhecking@nmrc.ucc.ie
merge from stable
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r-- | gnu/usr.bin/man/catman/catman.perl | 4 | ||||
-rw-r--r-- | gnu/usr.bin/man/makewhatis/makewhatis.perl | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gnu/usr.bin/man/catman/catman.perl b/gnu/usr.bin/man/catman/catman.perl index f1645f9..d94f9492 100644 --- a/gnu/usr.bin/man/catman/catman.perl +++ b/gnu/usr.bin/man/catman/catman.perl @@ -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; diff --git a/gnu/usr.bin/man/makewhatis/makewhatis.perl b/gnu/usr.bin/man/makewhatis/makewhatis.perl index b3ceeaa..841c2c0 100644 --- a/gnu/usr.bin/man/makewhatis/makewhatis.perl +++ b/gnu/usr.bin/man/makewhatis/makewhatis.perl @@ -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 |