Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/modify-package-state
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-01-31 20:26:39 +0100
committerErich Eckner <git@eckner.net>2018-01-31 20:26:39 +0100
commit65d82cf9a76c8442248a9eaf77a053c47c2ae415 (patch)
tree83eb232f70dde2229dbf18d8d24b63742092d32c /bin/modify-package-state
parentfd6b5522d364476a494f97ebf6248303b999f60d (diff)
bin/modify-package-state: bugfix - how could this have slipped through shellcheck?
Diffstat (limited to 'bin/modify-package-state')
-rwxr-xr-xbin/modify-package-state8
1 files changed, 1 insertions, 7 deletions
diff --git a/bin/modify-package-state b/bin/modify-package-state
index aa42764..5e4face 100755
--- a/bin/modify-package-state
+++ b/bin/modify-package-state
@@ -144,14 +144,8 @@ while read -r package reason; do
'repository_stabilities' 'repository_stabilities' 'repositories' 'stability' \
'architectures' 'architectures' 'binary_packages' 'architecture'
)
- # shellcheck disable=SC2016
+ # shellcheck disable=SC2016,SC2031
selector=$(
- local pkgname
- local epoch
- local pkgver
- local pkgrel
- local sub_pkgrel
- local arch
extract_pkgname_epoch_pkgver_pkgrel_sub_pkgrel_arch_from_package_name "${package}"
printf 'WHERE `repository_stabilities`.`name`="testing"'
printf ' AND `binary_packages`.`%s`=from_base64("%s")' \