Fix readlink implementation to handle schemes with whitespace characters
This commit is contained in:
parent
04c02f8d1a
commit
0abc38a2cf
@ -269,7 +269,7 @@ module Pod
|
||||
# If the path isn't an absolute path, we add a realtive prefix.
|
||||
old_read_link=`which readlink`
|
||||
readlink () {
|
||||
path=`$old_read_link $1`;
|
||||
path=`$old_read_link "$1"`;
|
||||
if [ $(echo "$path" | cut -c 1-1) = '/' ]; then
|
||||
echo $path;
|
||||
else
|
||||
|
||||
Loading…
Reference in New Issue
Block a user