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:
parent
82472434ee
commit
185e3a8ba7
@ -17,19 +17,19 @@ fi
|
|||||||
. /etc/os-release
|
. /etc/os-release
|
||||||
|
|
||||||
case "${ID}-${VERSION_ID}" in
|
case "${ID}-${VERSION_ID}" in
|
||||||
"fedora-*")
|
fedora-*)
|
||||||
IMAGE_MANIFEST="${MANIFESTS_DIR}/fedora.json"
|
IMAGE_MANIFEST="${MANIFESTS_DIR}/fedora.json"
|
||||||
;;
|
;;
|
||||||
"rhel-8.*")
|
rhel-8.*)
|
||||||
IMAGE_MANIFEST="${MANIFESTS_DIR}/rhel-8.json"
|
IMAGE_MANIFEST="${MANIFESTS_DIR}/rhel-8.json"
|
||||||
;;
|
;;
|
||||||
"rhel-9.*")
|
rhel-9.*)
|
||||||
IMAGE_MANIFEST="${MANIFESTS_DIR}/rhel-9.json"
|
IMAGE_MANIFEST="${MANIFESTS_DIR}/rhel-9.json"
|
||||||
;;
|
;;
|
||||||
"centos-8")
|
centos-8)
|
||||||
IMAGE_MANIFEST="${MANIFESTS_DIR}/centos-8.json"
|
IMAGE_MANIFEST="${MANIFESTS_DIR}/centos-8.json"
|
||||||
;;
|
;;
|
||||||
"centos-9")
|
centos-9)
|
||||||
IMAGE_MANIFEST="${MANIFESTS_DIR}/centos-9.json"
|
IMAGE_MANIFEST="${MANIFESTS_DIR}/centos-9.json"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
Loading…
Reference in New Issue
Block a user