Skip to content

Commit 6d0d65f

Browse files
authored
Fix "readlink" run on paths that contain spaces.
1 parent e29c42c commit 6d0d65f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cocoapods-binary-cache/pod-binary/integration/patch/embed_framework_script.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class EmbedFrameworksScript
1717
# If the path isn't an absolute path, we add a realtive prefix.
1818
old_read_link=`which readlink`
1919
readlink () {
20-
path=`$old_read_link $1`;
20+
path=`$old_read_link "$1"`;
2121
if [ $(echo "$path" | cut -c 1-1) = '/' ]; then
2222
echo $path;
2323
else

0 commit comments

Comments
 (0)