Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions xcodeproj/internal/templates/runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ common:rules_xcodeproj --repo_env=XCODE_VERSION=%xcode_version%
EOF

if command -v /usr/bin/xcode-select >/dev/null 2>&1; then
developer_dir=$(/usr/bin/xcode-select -p)
developer_dir="$(/usr/bin/xcode-select -p)"
else
developer_dir="${DEVELOPER_DIR:-}"
fi
Expand All @@ -179,7 +179,7 @@ if [[ -n "$developer_dir" ]]; then
cat >> "$pre_xcodeproj_bazelrc_dir/pre_xcodeproj.bazelrc" <<EOF

# Set \`DEVELOPER_DIR\` in case a bazel wrapper filters it
common:rules_xcodeproj --repo_env=DEVELOPER_DIR=$developer_dir
common:rules_xcodeproj --repo_env="DEVELOPER_DIR=$developer_dir"
EOF
fi

Expand Down