Skip to content

Commit

Permalink
Merge pull request rbenv#146 from pervel/patch-1
Browse files Browse the repository at this point in the history
Quoting the argument to greadlink to make it work with paths containing spaces
  • Loading branch information
josh committed Nov 22, 2011
2 parents 4cc6665 + dfc7645 commit adf9c97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libexec/rbenv
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -e
[ -n "$RBENV_DEBUG" ] && set -x

resolve_link() {
$(type -p greadlink readlink | head -1) $1
$(type -p greadlink readlink | head -1) "$1"
}

abs_dirname() {
Expand Down

0 comments on commit adf9c97

Please sign in to comment.