Add a default man path (#45689)
It seems that on some Linux distribution (Fedora 28, Debian), man will not fallback on a default path if MANPATH is set. So using the env-setup script will prevent man from working.
This commit is contained in:
parent
2167ce6cb6
commit
83db157c35
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ prepend_path()
|
|||
# Default values for shell variables we use
|
||||
PYTHONPATH=${PYTHONPATH-""}
|
||||
PATH=${PATH-""}
|
||||
MANPATH=${MANPATH-""}
|
||||
MANPATH=${MANPATH-$(manpath)}
|
||||
PYTHON=$(which python 2>/dev/null || which python3 2>/dev/null)
|
||||
PYTHON_BIN=${PYTHON_BIN-$PYTHON}
|
||||
|
||||
|
|
Loading…
Reference in a new issue