summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/return-assignment5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/return-assignment b/bin/return-assignment
index 89ab3ba..40733c1 100755
--- a/bin/return-assignment
+++ b/bin/return-assignment
@@ -412,7 +412,10 @@ if [ "$6" = 'ERROR' ]; then
# TODO: We might want to make this architecture-sensitive.
printf 'UPDATE `broken`'
printf ' JOIN `binary_packages`'
- printf ' ON `binary_packages`.`pkgname`=`broken`.`pkgname`'
+ printf ' ON ('
+ printf '`binary_packages`.`pkgname`=`broken`.`pkgname`'
+ printf ' OR `binary_packages`.`pkgname`=CONCAT("haskell-",`broken`.`pkgname`)'
+ printf ')'
mysql_join_binary_packages_build_assignments
mysql_join_binary_packages_binary_packages_in_repositories
printf ' AND `binary_packages_in_repositories`.`repository`=%s' \