File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -264,7 +264,7 @@ bundle_dylibs() {
264264 # (e.g. strchrnul) that don't exist on earlier OS versions → launch crash.
265265 echo " Verifying deployment target compatibility..."
266266 local deploy_target
267- deploy_target=$( echo " $build_settings " | grep -m 1 ' ^\s*MACOSX_DEPLOYMENT_TARGET = ' | awk ' {print $3}' )
267+ deploy_target=$( grep -m 1 ' ^\s*MACOSX_DEPLOYMENT_TARGET = ' <<< " $build_settings " | awk ' {print $3}' )
268268 if [ -n " $deploy_target " ]; then
269269 local deploy_major
270270 deploy_major=$( echo " $deploy_target " | cut -d. -f1)
@@ -373,7 +373,7 @@ build_for_arch() {
373373 echo " ✅ Build succeeded for $arch "
374374
375375 # Get binary path with validation
376- DERIVED_DATA=$( echo " $build_settings " | grep -m 1 " BUILD_DIR" | awk ' {print $3}' )
376+ DERIVED_DATA=$( grep -m 1 " BUILD_DIR" <<< " $build_settings " | awk ' {print $3}' )
377377
378378 if [ -z " $DERIVED_DATA " ]; then
379379 echo " ❌ FATAL: Failed to determine build directory from xcodebuild settings"
You can’t perform that action at this time.
0 commit comments