Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-08-21 11:33:51 +0200
committerErich Eckner <git@eckner.net>2019-08-21 11:33:51 +0200
commitd93fd07144855d1d746078a78899866bebaadec0 (patch)
treeed0695bb78c305dd4869267094f2093f20644433 /lib
parent3cd0039964d6702490c3a40d3cee5d5806ee2327 (diff)
lib/common-functions: expand_blacklist_architectures(): "any" should not be removed - we need it for seed-build-list
Diffstat (limited to 'lib')
-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 \