Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Quoting the argument to greadlink to make it work with paths containing spaces #146

Merged
merged 1 commit into from

2 participants

@pervel

I had the following error message when starting a new shell:

/usr/local/bin/greadlink: extra operand `STL'

I believe the reason was that the current directory was named Advanced STL (i.e. containing a space) which caused the call to eval "$(rbenv init -)" in my .bashrc file to fail.

@josh josh merged commit adf9c97 into sstephenson:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 18, 2011
  1. @pervel
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  libexec/rbenv
View
2  libexec/rbenv
@@ -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() {
Something went wrong with that request. Please try again.