summaryrefslogtreecommitdiff
path: root/automated
diff options
context:
space:
mode:
Diffstat (limited to 'automated')
-rwxr-xr-xautomated/lib/sh-test-lib6
1 files changed, 2 insertions, 4 deletions
diff --git a/automated/lib/sh-test-lib b/automated/lib/sh-test-lib
index 6aac8a7..17334c6 100755
--- a/automated/lib/sh-test-lib
+++ b/automated/lib/sh-test-lib
@@ -170,11 +170,9 @@ dist_name() {
warn_msg "Unsupported distro: cannot determine distribution name"
fi
+ # convert dist to lower case
+ dist=$(echo ${dist} | tr '[:upper:]' '[:lower:]')
case "${dist}" in
- Debian) dist="debian" ;;
- Ubuntu) dist="ubuntu" ;;
- Fedora) dist="fedora" ;;
- CentOS) dist="centos" ;;
rpb|rpb-wayland|rpb-eglfs) dist="oe-based" ;;
esac
}