From c917abdefd3693fbd4d585efae802a10867b03fb Mon Sep 17 00:00:00 2001 From: Fathi Boudra Date: Wed, 25 Jan 2017 15:56:04 +0200 Subject: automated: use pattern matching for rpb avoid to hardcode the rpb variants. use "oe-rpb" as a distribution value instead of "oe-based". Change-Id: I8f1ccf35a1b82718f662bd79480cb2c7dc41c1b8 Signed-off-by: Fathi Boudra --- automated/lib/sh-test-lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automated/lib/sh-test-lib b/automated/lib/sh-test-lib index 17334c6..bdc74e8 100755 --- a/automated/lib/sh-test-lib +++ b/automated/lib/sh-test-lib @@ -173,7 +173,7 @@ dist_name() { # convert dist to lower case dist=$(echo ${dist} | tr '[:upper:]' '[:lower:]') case "${dist}" in - rpb|rpb-wayland|rpb-eglfs) dist="oe-based" ;; + rpb*) dist="oe-rpb" ;; esac } -- cgit v1.2.3