summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-05-08 20:57:53 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-05-08 20:57:53 (EDT)
commit2b584dbb527230f44bb61eb83428c80d5e938e0c (patch)
tree5c92f2a56da14f01e702995592b3693db05dedad /lib
parent91acf2d0fadade2082f4519f84617bdbbeb0c8c6 (diff)
ob_match_plat(): Add missing platform check.
This will be necessary to build the linux-libre source package for the dev platform without building linux-image and linux-sysmap binary packages.
Diffstat (limited to 'lib')
-rw-r--r--lib/metadata.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/metadata.sh b/lib/metadata.sh
index 7a6a9e7..7a7a926 100644
--- a/lib/metadata.sh
+++ b/lib/metadata.sh
@@ -193,6 +193,9 @@ ob_match_plat()
if [ "${p}" = 'any' ]; then
return 0
fi
+ if [ "${p}" = "${plat}" ]; then
+ return 0
+ fi
done
return 1