Commit 1a2e6f33 authored by Chris Bracken's avatar Chris Bracken Committed by GitHub

Support Xcode builds in project dirs with spaces (#8709)

Use line-based iteration in place of word-based iteration over the
framework directories, to avoid breaking on spaces.
parent 60c0c3d3
...@@ -191,7 +191,7 @@ ThinAppFrameworks() { ...@@ -191,7 +191,7 @@ ThinAppFrameworks() {
local frameworks_dir="${app_path}/Frameworks" local frameworks_dir="${app_path}/Frameworks"
[[ -d "$frameworks_dir" ]] || return 0 [[ -d "$frameworks_dir" ]] || return 0
for framework_dir in $(find "${app_path}" -type d -name "*.framework"); do find "${app_path}" -type d -name "*.framework" | while read framework_dir; do
ThinFramework "$framework_dir" "$ARCHS" ThinFramework "$framework_dir" "$ARCHS"
done done
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment