File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ import SourceControl
18
18
import Utility
19
19
import Workspace
20
20
import libc
21
+ import func Foundation. NSUserName
21
22
22
23
struct ChdirDeprecatedDiagnostic : DiagnosticData {
23
24
static let id = DiagnosticID (
@@ -432,7 +433,8 @@ public class SwiftTool<Options: ToolOptions> {
432
433
assert ( isFile ( yaml) , " llbuild manifest not present: \( yaml. asString) " )
433
434
434
435
// Create a temporary directory for the build process.
435
- let tempDir = Basic . determineTempDirectory ( ) . appending ( component: " swiftpm " )
436
+ let tempDirName = " org.swift.swiftpm. \( NSUserName ( ) ) "
437
+ let tempDir = Basic . determineTempDirectory ( ) . appending ( component: tempDirName)
436
438
try localFileSystem. createDirectory ( tempDir, recursive: true )
437
439
438
440
// Run the swift-build-tool with the generated manifest.
You can’t perform that action at this time.
0 commit comments