summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlib/common-functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/common-functions b/lib/common-functions
index 501a5d0..169b209 100755
--- a/lib/common-functions
+++ b/lib/common-functions
@@ -1095,12 +1095,12 @@ expand_blacklist_architectures() {
printf ' ON `architecture_compatibilities`.`runs_on`=`superior`.`id`'
# "any" has a special role - it should be regarded as *inferior* to
# all architectures
- printf ' WHERE `superior`.`name`!="any";\n'
+ printf ' WHERE `superior`.`name`!="any"'
+ printf ' AND `inferior`.`name`!="any";\n'
printf 'SELECT "any",`architectures`.`name`'
printf ' FROM `architectures`;\n'
} \
| mysql_run_query \
- | grep -v '\sany$' \
| sort -k1,1 \
> "$1"
sort -k1,1 \