Commit 1ff0149
committed
Fix depot_tools initialization by prepending PATH and bypassing root check
1. Prepend `depot_tools` to `PATH` instead of appending, ensuring correct tool precedence.
2. Set `export USER=builder` to bypass the `update_depot_tools` root check, allowing `gclient` to properly bootstrap `depot_tools` (downloading python, etc.) in the CI environment where it runs as root.
3. Remove the manual `ensure_bootstrap` call which was insufficient.1 parent 4e59eb2 commit 1ff0149
1 file changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
0 commit comments