lib/cocoapods-binary-gcp/Integration.rb in cocoapods-binary-gcp-0.0.4 vs lib/cocoapods-binary-gcp/Integration.rb in cocoapods-binary-gcp-0.0.5
- old
+ new
@@ -267,10 +267,10 @@
# ---- this is added by cocoapods-binary ---
# Readlink cannot handle relative symlink well, so we override it to a new one
# 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
echo "`dirname $1`/$path";
fi
\ No newline at end of file