diff options
author | Fathi Boudra <fathi.boudra@linaro.org> | 2017-01-25 15:56:04 +0200 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2017-01-26 08:16:23 +0000 |
commit | c917abdefd3693fbd4d585efae802a10867b03fb (patch) | |
tree | 33a7e2a3384635d0536b05542672ba8716658c01 /automated/lib | |
parent | e79f5b93819573b62e76979183b4c7b7501c4539 (diff) |
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 <fathi.boudra@linaro.org>
Diffstat (limited to 'automated/lib')
-rwxr-xr-x | automated/lib/sh-test-lib | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |