index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2020-07-01 11:45:40 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-07-01 11:45:40 +0200 |
commit | 912c11af7f369721603bec4e6194166f8c856476 (patch) | |
tree | 3cad7e7dbbfeed3cb550f6b784a8fa13d45cc3bb /bin/return-assignment | |
parent | fa17bbf63438645741e5fe19b862d1012ff7089a (diff) |
-rwxr-xr-x | bin/return-assignment | 5 |
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' \ |