From 6d0d65f54670560c25710fbabc971ceba2bc9c36 Mon Sep 17 00:00:00 2001 From: Roger Oba Date: Mon, 15 Feb 2021 22:30:29 -0300 Subject: [PATCH] Fix "readlink" run on paths that contain spaces. --- .../pod-binary/integration/patch/embed_framework_script.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cocoapods-binary-cache/pod-binary/integration/patch/embed_framework_script.rb b/lib/cocoapods-binary-cache/pod-binary/integration/patch/embed_framework_script.rb index a6fd7c7..86968a1 100644 --- a/lib/cocoapods-binary-cache/pod-binary/integration/patch/embed_framework_script.rb +++ b/lib/cocoapods-binary-cache/pod-binary/integration/patch/embed_framework_script.rb @@ -17,7 +17,7 @@ class EmbedFrameworksScript # 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