mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-25 02:49:32 +03:00
mancheck: exclude dotfiles in man dir
Its not uncommon for an editor to drop a hidden swap file in the dir while editing a file there. mancheck would find it and run mandoc on it, which would complain about its distinctly not-manpage format. A more correct solution might be to reconfigure the editor to not put swap files in the same dir, but its the default a lot of the time, and this is a very small change that gives a very nice quality-of-life improvement. Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Rob Norris <robn@despairlabs.com> Closes #14549
This commit is contained in:
parent
4fe9cc5437
commit
25c4d1f032
@ -27,7 +27,7 @@ fi
|
||||
|
||||
IFS="
|
||||
"
|
||||
files="$(find "$@" -type f -name '*[1-9]*')" || exit 1
|
||||
files="$(find "$@" -type f -name '*[1-9]*' -not -name '.*')" || exit 1
|
||||
|
||||
add_excl="$(awk '
|
||||
/^.\\" lint-ok:/ {
|
||||
|
Loading…
Reference in New Issue
Block a user