diff options
author | Christian Heusel <christian@heusel.eu> | 2023-07-21 11:04:13 +0200 |
---|---|---|
committer | Christian Heusel <christian@heusel.eu> | 2023-10-02 11:29:03 +0200 |
commit | 0669315821ea0af00fcc2c6271eb474174173e0a (patch) | |
tree | 774529c5c8a545a81eafbca30bda92d15b8d6219 /src/lib/release.sh | |
parent | a6d43aca01eadcb4df8b888aebc58fe3d89b51d2 (diff) | |
download | devtools-0669315821ea0af00fcc2c6271eb474174173e0a.tar.xz |
chore: refactor variable names in valid-{tags,repos}.sh
Even though the variables in these files are globablly used they have a weirdly local sounding name.
This commit fixes this by refactoring all usages throughout our codebase.
Signed-off-by: Christian Heusel <christian@heusel.eu>
Diffstat (limited to 'src/lib/release.sh')
-rw-r--r-- | src/lib/release.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/release.sh b/src/lib/release.sh index aabbd35..028d92e 100644 --- a/src/lib/release.sh +++ b/src/lib/release.sh @@ -126,7 +126,7 @@ pkgctl_release() { if [[ -z ${REPO} ]]; then update_pacman_repo_cache # Check valid repos if not resolved dynamically - elif ! in_array "${REPO}" "${_repos[@]}"; then + elif ! in_array "${REPO}" "${DEVTOOLS_VALID_REPOS[@]}"; then die "Invalid repository target: %s" "${REPO}" fi |