diff options
| author | Michael Hoang <enzime@users.noreply.github.com> | 2024-11-03 19:26:56 +1100 |
|---|---|---|
| committer | Michael Hoang <enzime@users.noreply.github.com> | 2024-11-07 17:20:00 +1100 |
| commit | fd510a7122d49cc1cbd72b9e70b1ae6b3c76c990 (patch) | |
| tree | fecc1d000b6f8d74fa66257ec7e2fd4e53fed6e2 /modules/programs/bash | |
| parent | 041996803af5497fb000e3f79621fa5bb6995057 (diff) | |
system: replace `for f in $(ls ...)` with `for f in .../*`
Fixes SC2045 but has one quirk which is if the bash glob doesn't match
anything it'll treat it as a string and run the loop once with
`f=.../*` so we need to check that `$f` actually exists.
Diffstat (limited to 'modules/programs/bash')
0 files changed, 0 insertions, 0 deletions
