Skip to content

Commit 9777c3f

Browse files
authored
Merge pull request #22122 from nkcsgexi/install-mkdir
build-script: create SwiftSyntax install directory if it doesn't exist.
2 parents 0181ea5 + c2befdd commit 9777c3f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

utils/build-script-impl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3591,6 +3591,8 @@ for host in "${ALL_HOSTS[@]}"; do
35913591
# We don't have a toolchain so we should install to the specified dir
35923592
DYLIB_DIR="${INSTALL_DESTDIR}"
35933593
MODULE_DIR="${INSTALL_DESTDIR}"
3594+
# Create the install dir if it doesn't exist
3595+
call mkdir -p "${INSTALL_DESTDIR}"
35943596
# Install libParser is necessary
35953597
rsync -a "$(build_directory ${host} swift)/lib/lib_InternalSwiftSyntaxParser.dylib" "${INSTALL_DESTDIR}"
35963598
# Install module map of libParser so client can import SwiftSyntax

0 commit comments

Comments
 (0)