diff options
author | June McEnroe <june@causal.agency> | 2020-05-04 10:20:11 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-05-04 10:20:11 -0400 |
commit | c5710f51ba14736a0b1152a5e1f9f08edf61e061 (patch) | |
tree | e1cf5d4d47d530b9ec6b8b57add36115a72f8359 | |
parent | Add README (diff) | |
download | exman-c5710f51ba14736a0b1152a5e1f9f08edf61e061.tar.gz exman-c5710f51ba14736a0b1152a5e1f9f08edf61e061.zip |
Don't clear MANSECT
Just make sure every section ends up in it.
-rw-r--r-- | exman.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exman.sh b/exman.sh index f428e30..5077c34 100644 --- a/exman.sh +++ b/exman.sh @@ -19,7 +19,7 @@ shift export MANPATH="${exman}/${system}" [ -d "${MANPATH}" ] || die "No manuals for ${system}" -export MANSECT= +export MANSECT for sect in "${MANPATH}"/man*/; do sect=${sect%/} sect=${sect##*/man} |