From f1ae939a22d07a873a5e1e139763baefa2f0581d Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 15 May 2014 17:57:17 -0400 Subject: ob_match_plat(): Add back plat:all check. This was removed in commit 34c2432. This might be useful someday. Now both ob_match_plat() and ob_plat_is_concerned() check for this. --- (limited to 'lib') 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 -- cgit v0.9.1