Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-10-06 19:21:01 +0200
committerErich Eckner <git@eckner.net>2019-10-06 19:21:01 +0200
commite49623bc587b048ad437eb534d79cd3206c1766d (patch)
treea27d28366b7147c684ddb7d20d55ebd835dfe327 /bin
parent49afef68b9bc1a9bf4cf61a8a5cc8040fd091ab6 (diff)
bin/get-assignment: ignore duplicate orders
Diffstat (limited to 'bin')
-rwxr-xr-xbin/get-assignment2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/get-assignment b/bin/get-assignment
index e82b87b..b7cdb8a 100755
--- a/bin/get-assignment
+++ b/bin/get-assignment
@@ -397,7 +397,7 @@ next_building=$(
printf '`exists_unblocked` DESC'
printf ';\n'
- printf 'INSERT INTO `orders`(`order`)'
+ printf 'INSERT IGNORE INTO `orders`(`order`)'
printf ' SELECT'
printf ' MIN(`ordered_considered_build_assignments`.`order`)'
printf ' FROM `ordered_considered_build_assignments`'