Skip to content

Commit

Permalink
manpath issues a warning if MANPATH is already set; ignore it
Browse files Browse the repository at this point in the history
Broken mostly recently by daa2c94.
  • Loading branch information
tsibley committed Oct 30, 2014
1 parent 60f01fc commit ad966d3
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 @@ -2459,7 +2459,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 ad966d3

Please sign in to comment.