mbox series

[v3,0/2] install-buildtools: add --local-file option

Message ID 20260625170620.81300-1-jaipaul.cheernam@est.tech
Headers show
Series install-buildtools: add --local-file option | expand

Message

Jaipaul Cheernam June 25, 2026, 5:06 p.m. UTC
Split the --local-file addition into two patches as requested:

1/2: Refactor — extract fetch_buildtools(), drop shell=True
2/2: Add --local-file option

Changes since v2:
- Split into two commits for easier review
- Avoid mutating caller-owned file (use /bin/sh instead of chmod)
- Remove shell=True from subprocess calls

Jaipaul Cheernam (2):
  install-buildtools: refactor fetch and install logic
  install-buildtools: add --local-file option

 scripts/install-buildtools | 123 ++++++++++++++++++++++---------------
 1 file changed, 73 insertions(+), 50 deletions(-)