Skip to content

Commit 68f695a

Browse files
Update Package.swift (#345)
1 parent b2f42a1 commit 68f695a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ func findJavaHome() -> String {
3232
}
3333

3434

35-
if ProcessInfo.processInfo.environment["SPI_BUILD"] == "1" {
35+
if ProcessInfo.processInfo.environment["SPI_PROCESSING"] == "1" {
3636
// just ignore that we're missing a JAVA_HOME when building in Swift Package Index
3737
return ""
3838
}

0 commit comments

Comments
 (0)