summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
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