diff options
author | June McEnroe <june@causal.agency> | 2021-01-27 22:35:39 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-01-27 22:39:03 -0500 |
commit | 809d6629c97bd9c4bdf6c799e74a261bb510b1fd (patch) | |
tree | 38e7a60244090ad01cb0b9cef7fc88f1220c159c /exman.in | |
parent | Update to man-pages-posix 2017-a (diff) | |
download | exman-809d6629c97bd9c4bdf6c799e74a261bb510b1fd.tar.gz exman-809d6629c97bd9c4bdf6c799e74a261bb510b1fd.zip |
Completely rewrite how manuals are fetched and installed
Also add section 6 manuals from NetBSD and OpenBSD!
Diffstat (limited to '')
-rw-r--r-- | exman.in (renamed from exman.sh) | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/exman.sh b/exman.in index 9b6777d..7d4a9c8 100644 --- a/exman.sh +++ b/exman.in @@ -6,17 +6,11 @@ die() { exit 1 } -script=$0 -path=${script%/*} -prefix=${path%/bin} -exman="${prefix}/share/exman" -[ -d "${exman}" ] || exman=$prefix - system=${1:-} [ -n "${system}" ] || die 'What system do you want?' shift -export MANPATH="${exman}/${system}" +export MANPATH="%%EXMANDIR%%/${system}" [ -d "${MANPATH}" ] || die "No manuals for ${system}" export MANSECT |