From 1e8d84e26b81ad0ec49ae948f669a494929835b7 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 14 Mar 2019 23:37:02 -0400 Subject: ob_match_*(): Drop checks for "all" match arch/plat --- diff --git a/lib/metadata.sh b/lib/metadata.sh index 850100a..dcae248 100644 --- a/lib/metadata.sh +++ b/lib/metadata.sh @@ -171,15 +171,6 @@ ob_match_arch() for field_arch in ${arch_field}; do - # "all" == "all" - if [ x"${match_arch}" = x'all' ]; then - if [ x"${field_arch}" = x'all' ]; then - return 0 - else - continue - fi - fi - # "foo-bar-baz" == "any" if [ x"${field_arch}" = x'any' ]; then return 0 @@ -217,13 +208,6 @@ ob_match_plat() local field_plat= for field_plat in ${plat_field}; do - if [ x"${match_plat}" = x'all' ]; then - if [ x"${field_plat}" = x'all' ]; then - return 0 - else - continue - fi - fi if [ x"${field_plat}" = x'any' ]; then return 0 fi -- cgit v0.9.1