From 7741672ecd417aac33c8810f0cafb96828fc6d1a Mon Sep 17 00:00:00 2001 From: Chih-Pin Tan Date: Thu, 31 Oct 2019 12:25:58 +0000 Subject: [PATCH] Changes to be committed: modified: Library/Homebrew/cmd/shellenv.sh Prevent overriding default MANPATH while MANPATH is empty. --- Library/Homebrew/cmd/shellenv.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/shellenv.sh b/Library/Homebrew/cmd/shellenv.sh index 5fe34250f8..a4b043d574 100644 --- a/Library/Homebrew/cmd/shellenv.sh +++ b/Library/Homebrew/cmd/shellenv.sh @@ -28,7 +28,7 @@ homebrew-shellenv() { echo "export HOMEBREW_CELLAR=\"$HOMEBREW_CELLAR\";" echo "export HOMEBREW_REPOSITORY=\"$HOMEBREW_REPOSITORY\";" echo "export PATH=\"$HOMEBREW_PREFIX/bin:$HOMEBREW_PREFIX/sbin\${PATH+:\$PATH}\";" - echo "export MANPATH=\"$HOMEBREW_PREFIX/share/man\${MANPATH+:\$MANPATH}\";" + echo "export MANPATH=\"$HOMEBREW_PREFIX/share/man\${MANPATH+:\$MANPATH}:\";" echo "export INFOPATH=\"$HOMEBREW_PREFIX/share/info\${INFOPATH+:\$INFOPATH}\";" ;; esac