Skip to content

Commit df9b362

Browse files
authored
Merge pull request swiftlang#33183 from apple/eng/hyp-add-missing-f
Add missing `-f` to check which checks if a compiler-rt archive is pr…
2 parents 5c1f76c + 817f0e7 commit df9b362

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/build-script-impl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2388,7 +2388,7 @@ for host in "${ALL_HOSTS[@]}"; do
23882388
HOST_SIM_LIB_PATH="$HOST_CXX_BUILTINS_DIR/$SIM_LIB_NAME"
23892389
if [[ -f "${HOST_SIM_LIB_PATH}" ]]; then
23902390
call cp "${HOST_SIM_LIB_PATH}" "${DEST_BUILTINS_DIR}/${SIM_LIB_NAME}"
2391-
elif [[ "${HOST_LIB_PATH}" ]]; then
2391+
elif [[ -f "${HOST_LIB_PATH}" ]]; then
23922392
# The simulator .a might not exist if the host
23932393
# Xcode is old. In that case, copy over the
23942394
# device library to the simulator location to allow

0 commit comments

Comments
 (0)