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

This commit is contained in:
Per Velschow 2011-11-18 21:21:16 +01:00
parent 4cc6665d0a
commit dfc7645609

View file

@ -3,7 +3,7 @@ set -e
[ -n "$RBENV_DEBUG" ] && set -x [ -n "$RBENV_DEBUG" ] && set -x
resolve_link() { resolve_link() {
$(type -p greadlink readlink | head -1) $1 $(type -p greadlink readlink | head -1) "$1"
} }
abs_dirname() { abs_dirname() {