Skip to content

Commit 3c4cd43

Browse files
committed
Restore Linux bin directory for tests to bin
1 parent 09b95ae commit 3c4cd43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/LinuxPlatform/Linux.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public struct Linux: Platform {
2828
}
2929

3030
public func swiftlyBinDir(_ ctx: SwiftlyCoreContext) -> URL {
31-
ctx.mockedHomeDir.map { $0.appendingPathComponent(".local/share/swiftly/bin", isDirectory: true) }
31+
ctx.mockedHomeDir.map { $0.appendingPathComponent("bin", isDirectory: true) }
3232
?? ProcessInfo.processInfo.environment["SWIFTLY_BIN_DIR"].map { URL(fileURLWithPath: $0) }
3333
?? FileManager.default.homeDirectoryForCurrentUser
3434
.appendingPathComponent(".local/share/swiftly/bin", isDirectory: true)

0 commit comments

Comments
 (0)