From 912c11af7f369721603bec4e6194166f8c856476 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 1 Jul 2020 11:45:40 +0200 Subject: bin/return-assignment: prepend "haskell-" to prioritized packages, too --- bin/return-assignment | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bin/return-assignment') 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' \ -- cgit v1.2.3-70-g09d2