Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/return-assignment
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-02-01 14:27:08 +0100
committerErich Eckner <git@eckner.net>2018-02-01 14:27:08 +0100
commit94d523412cc6818c6e898f0213ec00695c404836 (patch)
tree5939b4f83a0fd6adbec4302835fbf19ade68552f /bin/return-assignment
parent95c2ffe83ed58a13272df53acc5023d547be0c6d (diff)
bin/return-assignment: reset priority when getting back a successful build assignment
Diffstat (limited to 'bin/return-assignment')
-rwxr-xr-xbin/return-assignment1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/return-assignment b/bin/return-assignment
index 42393ac..6c0ae16 100755
--- a/bin/return-assignment
+++ b/bin/return-assignment
@@ -434,6 +434,7 @@ fi
printf ' JOIN `binary_packages` ON `binary_packages`.`build_assignment`=`build_assignments`.`id`'
printf ' SET'
printf ' `build_assignments`.`is_broken`=0,'
+ printf ' `build_assignments`.`priority`=0,'
printf ' `binary_packages`.`repository`=(SELECT `repositories`.`id` FROM `repositories` WHERE `repositories`.`name`=from_base64("%s")),' \
"$(
printf '%s' "${destination}" | \