Refactor scripts-dev/complement.sh logic to avoid exit (#19209)

This is useful so that the script can be sourced by other scripts
without exiting the calling subshell (composable).

This is split out from https://github.com/element-hq/synapse/pull/19208
to make easy to understand PR's and build up to where we want to go.
This commit is contained in:
Eric Eastwood
2025-11-21 10:51:19 -06:00
committed by GitHub
parent 7a9660367a
commit e39fba61a7
2 changed files with 179 additions and 168 deletions

1
changelog.d/19209.misc Normal file
View File

@@ -0,0 +1 @@
Refactor `scripts-dev/complement.sh` logic to avoid `exit` to facilitate being able to source it from other scripts (composable).