Skip to content

Commit

Permalink
Merge pull request #427 from tsibley/fix-manpath-warning
Browse files Browse the repository at this point in the history
manpath issues a warning if MANPATH is already set; ignore it
  • Loading branch information
gugod committed Nov 15, 2014
2 parents 82c301c + ad966d3 commit f6d904c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/App/perlbrew.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2454,7 +2454,7 @@ __perlbrew_purify () {
}
__perlbrew_set_path () {
export MANPATH=$PERLBREW_MANPATH${PERLBREW_MANPATH:+:}$(__perlbrew_purify "$(manpath)")
export MANPATH=$PERLBREW_MANPATH${PERLBREW_MANPATH:+:}$(__perlbrew_purify "$(manpath 2>/dev/null)")
export PATH=${PERLBREW_PATH:-$PERLBREW_ROOT/bin}:$(__perlbrew_purify $PATH)
hash -r
}
Expand Down

0 comments on commit f6d904c

Please sign in to comment.