Commit graph

8 commits

Author SHA1 Message Date
Marc Durdin
65158a0526 maint(common): rename shellHelperFunctions.sh to utils.inc.sh
Adds documentation for various functions, removes unused functions (a
couple of simple, very lightly used functions were unDRYed; these could
go back the other way across all shell scripts if necessary). TODO items
noted for follow-up refactoring.

Fixes: #14275
Relates-to: #14269
Build-bot: build all
Test-bot: skip
2025-08-02 06:58:40 +10:00
Marc Durdin
9f74e735de chore(common): fixup build scripts 2023-04-28 14:30:52 +07:00
Marc Durdin
4d53a277f3 chore: use builder_die, remove fail 2023-02-20 09:15:38 +07:00
Marc Durdin
767927bf16 chore(common): use /usr/bin/env bash
Fixes up scripts (except under /linux) to use `#!/usr/bin/env bash`
instead of `#!/bin/bash` or `#!/bin/sh` so that we don't end up with
the ancient version of bash supplied with macOS.

This became urgent with this PR, because of bash-4.xisms in
build-utils.sh, for example on line 572:

```
if [[ -v _builder_params[$e] ]]; then
```
2022-07-25 14:59:37 +10:00
Marc Durdin
3e2e40a3b2 chore(ci): address review comment 2020-02-04 12:12:07 +11:00
Marc Durdin
06b5feed0c chore: history parsing and validation 2020-02-04 08:46:34 +11:00
Marc Durdin
ef02b1bdda chore: address review comments 2020-01-31 20:01:46 +11:00
Marc Durdin
d5fe536eef chore: start history/version infrastructure 2020-01-29 08:54:32 +11:00