Test: fix the case statement patterns in build-images.sh

Related: rhbz#2132250

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
Tomáš Hozza 2023-02-15 14:36:11 +01:00
parent 82472434ee
commit 185e3a8ba7
No known key found for this signature in database
GPG Key ID: C5887AD51D9F3C2D

View File

@ -17,19 +17,19 @@ fi
. /etc/os-release
case "${ID}-${VERSION_ID}" in
"fedora-*")
fedora-*)
IMAGE_MANIFEST="${MANIFESTS_DIR}/fedora.json"
;;
"rhel-8.*")
rhel-8.*)
IMAGE_MANIFEST="${MANIFESTS_DIR}/rhel-8.json"
;;
"rhel-9.*")
rhel-9.*)
IMAGE_MANIFEST="${MANIFESTS_DIR}/rhel-9.json"
;;
"centos-8")
centos-8)
IMAGE_MANIFEST="${MANIFESTS_DIR}/centos-8.json"
;;
"centos-9")
centos-9)
IMAGE_MANIFEST="${MANIFESTS_DIR}/centos-9.json"
;;
*)