File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
xcodeproj/internal/bazel_integration_files Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -27,10 +27,11 @@ if [[ "$ACTION" != indexbuild ]]; then
2727
2828 # Symlink .o files from BAZEL_PACKAGE_BIN_DIR to OBJECT_FILE_DIR_normal/arm64
2929 find " $PWD /${PRODUCT_NAME} _objs" -name ' *.o' -exec sh -c '
30- TARGET_FILE="$OBJECT_FILE_DIR_normal/arm64/$(basename "$1" | sed "s/\.swift//")"
31- rm -f $TARGET_FILE
32- cp "$1" $TARGET_FILE
33- chmod 644 $TARGET_FILE
30+ FILENAME=$(echo "${1}" | sed "s/__SPACE__/ /g")
31+ TARGET_FILE="${OBJECT_FILE_DIR_normal}/arm64/$(basename "${FILENAME}" | sed "s/\.swift//")"
32+ rm -f "${TARGET_FILE}"
33+ cp "$1" "${TARGET_FILE}"
34+ chmod 644 "${TARGET_FILE}"
3435 ' _ {} \;
3536
3637 if [[ -f " $BAZEL_OUTPUTS_PRODUCT_BASENAME " ]]; then
You can’t perform that action at this time.
0 commit comments