Skip to content

Commit fc3d8f8

Browse files
Update xcodeproj/internal/templates/bazel_build.sh
Remove the wildcard pattern when matching Metal toolchain. Co-authored-by: Brentley Jones <[email protected]> Signed-off-by: Adin Ćebić <[email protected]>
1 parent a1343c7 commit fc3d8f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xcodeproj/internal/templates/bazel_build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ if [[ -n "${TOOLCHAINS-}" ]]; then
101101
toolchains_array=($TOOLCHAINS)
102102
filtered_toolchains=()
103103
for tc in "${toolchains_array[@]}"; do
104-
if [[ "$tc" != *"com.apple.dt.toolchain.Metal"* ]]; then
104+
if [[ "$tc" != "com.apple.dt.toolchain.Metal"* ]]; then
105105
filtered_toolchains+=("$tc")
106106
fi
107107
done

0 commit comments

Comments
 (0)