From 29babc405dd59727e071ad0c18ea5b89a787ba95 Mon Sep 17 00:00:00 2001 From: Matthew Burket Date: Wed, 18 Dec 2024 07:44:29 -0600 Subject: [PATCH] Adjust to regex for building scap delta tailoring files RHEL 9 has a STIG now and RHEL 7 is gone --- cmake/SSGCommon.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/SSGCommon.cmake b/cmake/SSGCommon.cmake index d145cd6e9a4..4213fcadedf 100644 --- a/cmake/SSGCommon.cmake +++ b/cmake/SSGCommon.cmake @@ -777,7 +777,7 @@ macro(ssg_build_product PRODUCT) ssg_render_policies_for_product(${PRODUCT}) add_dependencies(render-policies ${PRODUCT}-render-policies) - if(SSG_BUILD_DISA_DELTA_FILES AND "${PRODUCT}" MATCHES "rhel(7|8)|ol8") + if(SSG_BUILD_DISA_DELTA_FILES AND "${PRODUCT}" MATCHES "rhel(8|9)|ol8") ssg_build_disa_delta(${PRODUCT} "stig") add_dependencies(${PRODUCT} generate-ssg-delta-${PRODUCT}-stig) endif()