index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-03-01 08:37:27 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-03-01 08:37:27 +0100 |
commit | 6047f2686cfe623e08fbaf4eae0a552ded731eb1 (patch) | |
tree | a4e8df807732b035c3a8d430ddb8cb44565b49cd /bin/modify-package-state | |
parent | 1b15a4704e80853b99eef83a3e26e7735bec2f54 (diff) |
-rwxr-xr-x | bin/modify-package-state | 4 |
diff --git a/bin/modify-package-state b/bin/modify-package-state index b0ba53e..8c5fac7 100755 --- a/bin/modify-package-state +++ b/bin/modify-package-state @@ -225,7 +225,7 @@ while read -r package reason; do ;; esac if printf 'SELECT 1 FROM %s %s AND %s LIMIT 1' "${combiner}" "${selector}" "${tester}" | \ - ${mysql_command} --raw --batch | \ + mysql_run_query --raw --batch | \ sed '1d' | \ grep -qxF '1'; then # shellcheck disable=SC2016 @@ -242,7 +242,7 @@ while read -r package reason; do printf ' AND NOT `b`.`is_tested`' printf ' AND NOT `repositories`.`name`="deletion-list";\n' } | \ - ${mysql_command} + mysql_run_query case "${action}" in 'block') printf '%s' "${reason}" > \ |