Skip to content

Commit 5f5b3ab

Browse files
authored
Merge pull request #630 from nkcsgexi/recursive-create-o
Recursively create non-existing output dir
2 parents 8b1e46e + 4d2fe27 commit 5f5b3ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/swift-build-sdk-interfaces/main.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ do {
6262
outputDir = outputDir.appending(RelativePath(collector.versionString))
6363
}
6464
if !localFileSystem.exists(outputDir) {
65-
try localFileSystem.createDirectory(outputDir)
65+
try localFileSystem.createDirectory(outputDir, recursive: true)
6666
}
6767
let swiftcPathRaw = ProcessEnv.vars["SWIFT_EXEC"]
6868
var swiftcPath: AbsolutePath

0 commit comments

Comments
 (0)