We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11909e3 commit b3ff483Copy full SHA for b3ff483
src/bootstrap/sanity.rs
@@ -103,7 +103,9 @@ pub fn check(build: &mut Build) {
103
.take()
104
.map(|p| cmd_finder.must_have(p))
105
.or_else(|| env::var_os("BOOTSTRAP_PYTHON").map(PathBuf::from)) // set by bootstrap.py
106
- .or_else(|| Some(cmd_finder.must_have("python")));
+ .or_else(|| cmd_finder.maybe_have("python"))
107
+ .or_else(|| cmd_finder.maybe_have("python3"))
108
+ .or_else(|| cmd_finder.maybe_have("python2"));
109
110
build.config.nodejs = build
111
.config
0 commit comments