1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Do not corrupt $MANPATH when it's not present (#16300)

Fixes #16299
This commit is contained in:
André Pinto 2016-06-15 17:41:14 +02:00 committed by Brian Coca
parent 13d52ae438
commit fa4011c6c3

View file

@ -39,7 +39,7 @@ end
# Set MANPATH # Set MANPATH
if not contains $PREFIX_MANPATH $MANPATH if not contains $PREFIX_MANPATH $MANPATH
if not set -q MANPATH if not set -q MANPATH
set -gx MANPATH $PREFIX_MANPATH set -gx MANPATH $PREFIX_MANPATH:
else else
set -gx MANPATH $PREFIX_MANPATH $MANPATH set -gx MANPATH $PREFIX_MANPATH $MANPATH
end end