Commit dddd7a2
authored
fix: fallback to /usr/bin/env if env is not in PATH (#3577)
This fixes an issue where the bootstrap script would fail if env was not
in the PATH, which is the case on NixOS, or when Bazel's strict action
env is enabled.
To fix, the bootstrap checks if env exists, and if not, falls back to
/usr/bin/env.
Fixes #35751 parent afe7981 commit dddd7a2
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
288 | 294 | | |
289 | | - | |
| 295 | + | |
290 | 296 | | |
291 | 297 | | |
292 | 298 | | |
| |||
0 commit comments