Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src/archrelease.in
diff options
context:
space:
mode:
authorChristian Heusel <christian@heusel.eu>2023-07-21 11:04:13 +0200
committerChristian Heusel <christian@heusel.eu>2023-10-02 11:29:03 +0200
commit0669315821ea0af00fcc2c6271eb474174173e0a (patch)
tree774529c5c8a545a81eafbca30bda92d15b8d6219 /src/archrelease.in
parenta6d43aca01eadcb4df8b888aebc58fe3d89b51d2 (diff)
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/archrelease.in')
-rw-r--r--src/archrelease.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/archrelease.in b/src/archrelease.in
index 818b0ca..84aed28 100644
--- a/src/archrelease.in
+++ b/src/archrelease.in
@@ -35,7 +35,7 @@ fi
# validate repo is really repo-arch
if [[ -z $FORCE ]]; then
for tag in "$@"; do
- if ! in_array "$tag" "${_tags[@]}"; then
+ if ! in_array "$tag" "${DEVTOOLS_VALID_TAGS[@]}"; then
die "archrelease: Invalid tag: '%s' (use -f to force release)" "$tag"
fi
done