Skip to content

Update bash scripts - #2899

Merged
JC-Chung merged 2 commits into
sourcegit-org:developfrom
slycordinator:update_bash
Nov 27, 2026
Merged

JC-Chung merged 2 commits into
sourcegit-org:developfrom
slycordinator:update_bash

Conversation

@slycordinator

Copy link
Copy Markdown

Consolidates/simplifies code

  • Replace multiple successive calls of same command into one call
  • change multiple references to files in same directory to one using {}
    cmd "$dir/file1"; cmd "$dir/file2"
    to
    cmd "$dir/{file1,file2}"
  • change ICU_VERSIONS to array and use simplify icu_deps creation with icu_deps+=" | libicu$v"

Consolidate code
* replace repeated calls to to same command to single call on multiple files/directories

* consolidate references to multiple files from same directory to $dir/{$file1,$file2}

* convert ICU_VERSIONS to array and simplify icu_deps to only new values to the end of the string with +=
consolidate rm commands to one call
@JC-Chung JC-Chung self-assigned this Nov 27, 2026
@JC-Chung JC-Chung added the tools Non-main project code, such as inspection, packaging, CI and other peripheral tools label Nov 27, 2026
@JC-Chung
JC-Chung merged commit 2a18827 into sourcegit-org:develop Nov 27, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tools Non-main project code, such as inspection, packaging, CI and other peripheral tools

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants