Skip to content

Commit e992cd7

Browse files
authored
Merge pull request #1351 from apple/108769167
Avoid quoting paths for dependencies scanning jobs
2 parents 221b5ea + 33aff36 commit e992cd7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,9 +415,11 @@ public extension Driver {
415415

416416
static func itemizedJobCommand(of job: Job, useResponseFiles: ResponseFileHandling,
417417
using resolver: ArgsResolver) throws -> [String] {
418+
// FIXME: this is to walkaround rdar://108769167
419+
let quotePaths = job.kind != .scanDependencies
418420
let (args, _) = try resolver.resolveArgumentList(for: job,
419421
useResponseFiles: useResponseFiles,
420-
quotePaths: true)
422+
quotePaths: quotePaths)
421423
return args
422424
}
423425

0 commit comments

Comments
 (0)