summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-03-14 23:37:02 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-03-14 23:37:02 (EDT)
commit1e8d84e26b81ad0ec49ae948f669a494929835b7 (patch)
tree243ab3cdf3645db3bb35ec8dd99af24fc91f6819 /lib
parent4e3f7bfdbbcb2923db2bc0230e3a0d3c1008a4c2 (diff)
ob_match_*(): Drop checks for "all" match arch/plat
Diffstat (limited to 'lib')
-rw-r--r--lib/metadata.sh16
1 files changed, 0 insertions, 16 deletions
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