Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-06-05 10:34:56 +0200
committerErich Eckner <git@eckner.net>2018-06-05 10:34:56 +0200
commit7f37c797b59f193bb9d48395f8400776832c98f5 (patch)
treea19063081b168678899d7a21a28b04cddd03d3fb
parent13226434ea25cedda7c0ce96c50bfe8febdd266a (diff)
bin/get-assignment: set `build_slaves`.`is_sane`=1 on handing out an assignment
-rwxr-xr-xbin/get-assignment3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/get-assignment b/bin/get-assignment
index a57780e..4252765 100755
--- a/bin/get-assignment
+++ b/bin/get-assignment
@@ -52,8 +52,9 @@ hand_out_assignment() {
printf ';\n'
printf 'UPDATE `build_slaves`'
- printf ' SET `currently_building`=%s' \
+ printf ' SET `build_slaves`.`currently_building`=%s,' \
"$1"
+ printf ' `build_slaves`.`is_sane`=1'
# shellcheck disable=SC2154
printf ' WHERE `build_slaves`.`id`=from_base64("%s");\n' \
"$(printf '%s' "${slave_id}" | base64 -w0)"