diff options
author | Erich Eckner <git@eckner.net> | 2019-08-21 11:33:51 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-08-21 11:33:51 +0200 |
commit | d93fd07144855d1d746078a78899866bebaadec0 (patch) | |
tree | ed0695bb78c305dd4869267094f2093f20644433 | |
parent | 3cd0039964d6702490c3a40d3cee5d5806ee2327 (diff) | |
download | builder-d93fd07144855d1d746078a78899866bebaadec0.tar.xz |
lib/common-functions: expand_blacklist_architectures(): "any" should not be removed - we need it for seed-build-list
-rwxr-xr-x | lib/common-functions | 4 |
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 \ |