summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/metadata.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/metadata.sh b/lib/metadata.sh
index 86a8960..c056649 100644
--- a/lib/metadata.sh
+++ b/lib/metadata.sh
@@ -183,6 +183,13 @@ ob_match_plat()
fi
for p in ${plat_field}; do
+ if [ "${plat}" = 'all' ]; then
+ if [ "${p}" = 'all' ]; then
+ return 0
+ else
+ continue
+ fi
+ fi
if [ "${p}" = 'any' ]; then
return 0
fi