Commit 1299307
authored
fix(toolchain): no chmod on windows when downloading hermetic toolchain (#2693)
Previously the code would not chmod for the Windows hermetic toolchains
because there is usually no need - Windows does not have chmod and if
you are downloading the Windows repo on a UNIX system, you won't run it,
so it will stay as is.
However, that left a single case where somebody may want to download the
Linux toolchain on a Windows and the main cases are:
* `bazel sync`
* build a docker image on Windows using `rules_oci` or similar.
Fixes #26601 parent 175fe4c commit 1299307
2 files changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
61 | 63 | | |
62 | 64 | | |
63 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
131 | 133 | | |
132 | 134 | | |
133 | 135 | | |
| |||
0 commit comments