Commit 1b18faf
authored
Make eng/build.sh portable (don't hardcode /bin/bash) (#14707)
Follow-up to #14361 addressing @corngood's review feedback:
`eng/build.sh` isn't portable and breaks on NixOS.
- Shebang `#! /bin/bash` -> `#!/usr/bin/env bash`, matching every other
script in this repo (including `build.sh` and `eng/common/*.sh`).
- The hardcoded `/bin/bash` invocations of the stage 1 / stage 2 builds
now use `bash` from `\`. The echoed command lines were updated to match.
No behavioral change on distributions where bash lives at `/bin/bash`.
Copilot-Session: fcd4cd36-f7ca-48cf-9c4d-7f9601ef3db21 parent 27f1450 commit 1b18faf
1 file changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
| 177 | + | |
178 | 178 | | |
179 | | - | |
| 179 | + | |
180 | 180 | | |
0 commit comments