Skip to content

Commit 8f60d0a

Browse files
committed
Frontend Override hack: allow python3 in addition to Python for the fake frontend script invocation used in tests.
1 parent 3427e0a commit 8f60d0a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Sources/SwiftDriver/Driver/Driver.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2338,7 +2338,8 @@ extension Driver {
23382338
}
23392339

23402340
var appliesToFetchingTargetInfo: Bool {
2341-
return overridePath?.basename != "Python"
2341+
return overridePath?.basename != "Python" &&
2342+
overridePath?.basename != "python3"
23422343
}
23432344
func setUpForTargetInfo(_ toolchain: Toolchain) {
23442345
if !appliesToFetchingTargetInfo {

0 commit comments

Comments
 (0)